[vlc-commits] [Git][videolan/vlc][3.0.x] demux: webvtt: fix style/header leak

François Cartegnie (@fcartegnie) gitlab at videolan.org
Wed Aug 13 05:34:45 UTC 2025



François Cartegnie pushed to branch 3.0.x at VideoLAN / VLC


Commits:
0c74bb94 by François Cartegnie at 2025-08-13T05:11:30+00:00
demux: webvtt: fix style/header leak

(cherry picked from commit b7c8649644a3806bf9e24637e466474bf4710d64)

- - - - -


1 changed file:

- modules/demux/webvtt.c


Changes:

=====================================
modules/demux/webvtt.c
=====================================
@@ -737,5 +737,8 @@ void webvtt_CloseDemux( vlc_object_t *p_this )
         webvtt_text_parser_Delete( p_sys->p_streamparser );
     }
 
+    free( p_sys->regions_headers.p_data );
+    free( p_sys->styles_headers.p_data );
+
     free( p_sys );
 }



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/0c74bb94ad352da2794ccc5b65fcd6120a917e54

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