vlc/vlc-2.2 | branch: master | Hannes Domani <[email protected]> | Fri Jan 15 15:49:47 2016 +0100| [dc6068d611c8dac7f0062d86b77df45ddfcad309] | committer: Jean-Baptiste Kempf
demux: ogg: fix memory leaks Signed-off-by: Jean-Baptiste Kempf <[email protected]> (cherry picked from commit b651591e9a3fa4932f7e2fe8804c304176dbe3aa) Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=dc6068d611c8dac7f0062d86b77df45ddfcad309 --- modules/demux/ogg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/demux/ogg.c b/modules/demux/ogg.c index 9982367..94d8894 100644 --- a/modules/demux/ogg.c +++ b/modules/demux/ogg.c @@ -2199,7 +2199,9 @@ static void Ogg_CleanSpecificData( logical_stream_t *p_stream ) #ifdef HAVE_LIBVORBIS if ( p_stream->fmt.i_codec == VLC_CODEC_VORBIS ) { + vorbis_info_clear( p_stream->special.vorbis.p_info ); FREENULL( p_stream->special.vorbis.p_info ); + vorbis_comment_clear( p_stream->special.vorbis.p_comment ); FREENULL( p_stream->special.vorbis.p_comment ); p_stream->special.vorbis.i_headers_flags = 0; } _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
