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

Steve Lhomme (@robUx4) gitlab at videolan.org
Thu Sep 25 08:33:25 UTC 2025



Steve Lhomme pushed to branch master at VideoLAN / VLC


Commits:
916b3aa2 by Steve Lhomme at 2025-09-25T08:18:05+00:00
libvlc: fix vout table leak in set_value()

- - - - -


1 changed file:

- lib/video.c


Changes:

=====================================
lib/video.c
=====================================
@@ -696,6 +696,7 @@ set_value( libvlc_media_player_t *p_mi, const char *restrict name,
             var_TriggerCallback( pp_vouts[i], "sub-source" );
         vout_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/916b3aa23e265fa3bf87fed83c015ffce3e3d4c2

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/916b3aa23e265fa3bf87fed83c015ffce3e3d4c2
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