[vlc-commits] [Git][videolan/vlc][master] demux: ty: fix leak in case of error

Felix Paul Kühne (@fkuehne) gitlab at videolan.org
Fri Sep 13 04:40:51 UTC 2024



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


Commits:
02921db9 by Thomas Guillem at 2024-09-13T04:26:50+00:00
demux: ty: fix leak in case of error

- - - - -


1 changed file:

- modules/demux/ty.c


Changes:

=====================================
modules/demux/ty.c
=====================================
@@ -349,6 +349,7 @@ static int Open(vlc_object_t *p_this)
 
     if (probe_stream(p_demux) != VLC_SUCCESS) {
         //TyClose(p_demux);
+        free(p_sys);
         return VLC_EGENERIC;
     }
 



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/02921db96886fd82f94efa72fbbe4c1b7f32e5c4

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