[vlc-commits] [Git][videolan/vlc][master] lib: fix media player leak in libvlc_media_player_new_from_media

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Thu Mar 26 16:57:33 UTC 2026



Felix Paul Kühne pushed to branch master at VideoLAN / VLC


Commits:
1fb8088e by Martin Finkel at 2026-03-26T15:32:29+01:00
lib: fix media player leak in libvlc_media_player_new_from_media

- - - - -


1 changed file:

- lib/media_player.c


Changes:

=====================================
lib/media_player.c
=====================================
@@ -856,6 +856,7 @@ libvlc_media_player_new_from_media( libvlc_instance_t *inst,
     {
         libvlc_media_release(p_md);
         p_mi->p_md = NULL;
+        libvlc_media_player_release(p_mi);
         return NULL;
     }
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/1fb8088e2c81e662c5d97086282c54b769b82205

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




More information about the vlc-commits mailing list