[vlc-commits] packetizer: flac: fix memory leak
Hannes Domani
git at videolan.org
Fri Aug 29 19:54:03 CEST 2014
vlc | branch: master | Hannes Domani <ssbssa at yahoo.de> | Fri Aug 29 18:17:17 2014 +0200| [832510eb27f32d6e08451d7591a8149caadff935] | committer: Tristan Matthews
packetizer: flac: fix memory leak
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=832510eb27f32d6e08451d7591a8149caadff935
---
modules/packetizer/flac.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/packetizer/flac.c b/modules/packetizer/flac.c
index d3fe322..3303a27 100644
--- a/modules/packetizer/flac.c
+++ b/modules/packetizer/flac.c
@@ -769,6 +769,7 @@ static void Close(vlc_object_t *p_this)
decoder_t *p_dec = (decoder_t *)p_this;
decoder_sys_t *p_sys = p_dec->p_sys;
+ es_format_Clean(&p_dec->fmt_out);
block_BytestreamRelease(&p_sys->bytestream);
free(p_sys);
}
More information about the vlc-commits
mailing list