[vlc-commits] [Git][videolan/vlc][3.0.x] libvlc: fix vout table leak in set_value()

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Sun Sep 28 09:32:26 UTC 2025



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


Commits:
9f42f966 by Steve Lhomme at 2025-09-25T09:25:30+00:00
libvlc: fix vout table leak in set_value()


(cherry picked from commit 916b3aa23e265fa3bf87fed83c015ffce3e3d4c2)

Co-authored-by: Steve Lhomme <robux4 at ycbcr.xyz>
- - - - -


1 changed file:

- lib/video.c


Changes:

=====================================
lib/video.c
=====================================
@@ -865,6 +865,7 @@ set_value( libvlc_media_player_t *p_mi, const char *restrict name,
             var_TriggerCallback( pp_vouts[i], "sub-source" );
         vlc_object_release( pp_vouts[i] );
     }
+    free (pp_vouts);
 
     if( opt->type == 0 )
         free( new_val.psz_string );



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/9f42f96623ed845640fa3a8e587e0e5df15d03d2

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


VideoLAN code repository instance


More information about the vlc-commits mailing list