Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC


Commits:
2b225963 by Lyndon Brown at 2022-01-13T09:07:23+00:00
cmdline: fix leak

fixes #26466.

- - - - -


1 changed file:

- src/config/cmdline.c


Changes:

=====================================
src/config/cmdline.c
=====================================
@@ -337,6 +337,7 @@ int config_LoadCmdLine( vlc_object_t *p_this, int i_argc,
             }
             fprintf( stderr, _( "For more information try %s--help%s\n" ),
                      color ? TS_GREEN : "", color ? TS_RESET : "" );
+            free( optlabel );
             goto out;
         }
     }



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/2b225963d0680294de37e8eecb27dd05e139b12b

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


_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to