Felix Paul Kühne pushed to branch 3.0.x at VideoLAN / VLC


Commits:
98ccd7a7 by Hugo Beauzée-Luyssen at 2022-06-30T09:48:27+02:00
modules: Fix leak on error path

- - - - -


1 changed file:

- src/modules/modules.c


Changes:

=====================================
src/modules/modules.c
=====================================
@@ -235,6 +235,7 @@ module_t *vlc_module_load(vlc_object_t *obj, const char 
*capability,
              capability, name, total);
     if (total <= 0)
     {
+        free(var);
         module_list_free (mods);
         msg_Dbg (obj, "no %s modules", capability);
         return NULL;



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/98ccd7a722f9db0493ee0557b90be0318ff585b4

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/98ccd7a722f9db0493ee0557b90be0318ff585b4
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
vlc-commits@videolan.org
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to