[vlc-commits] tta: fix memory leak
Rémi Denis-Courmont
git at videolan.org
Mon Feb 6 22:10:12 CET 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Feb 6 23:10:05 2017 +0200| [e16aa537ae9e6f22a67423bcc176f7f3b224eca7] | committer: Rémi Denis-Courmont
tta: fix memory leak
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e16aa537ae9e6f22a67423bcc176f7f3b224eca7
---
modules/demux/tta.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/demux/tta.c b/modules/demux/tta.c
index 3ee30ec..89e66bf 100644
--- a/modules/demux/tta.c
+++ b/modules/demux/tta.c
@@ -164,6 +164,7 @@ static int Open( vlc_object_t * p_this )
p_fullheader += 4;
p_sys->p_es = es_out_Add( p_demux->out, &fmt );
+ es_format_Clean( &fmt );
p_sys->i_start = p_fullheader - (uint8_t *)fmt.p_extra;
return VLC_SUCCESS;
More information about the vlc-commits
mailing list