[vlc-commits] demux: mp4: fix memleak
Francois Cartegnie
git at videolan.org
Wed Mar 12 19:51:38 CET 2014
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Mar 12 19:23:41 2014 +0100| [b2379a00d16403679d59edd9a4e48a7a8f44175d] | committer: Francois Cartegnie
demux: mp4: fix memleak
cid 1048916
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b2379a00d16403679d59edd9a4e48a7a8f44175d
---
modules/demux/mp4/mp4.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/demux/mp4/mp4.c b/modules/demux/mp4/mp4.c
index 137763a..f083fbe 100644
--- a/modules/demux/mp4/mp4.c
+++ b/modules/demux/mp4/mp4.c
@@ -503,6 +503,7 @@ static int Open( vlc_object_t * p_this )
{
free( psz_ref );
free( psz_path );
+ input_item_node_Delete( p_subitems );
vlc_object_release( p_input) ;
return VLC_ENOMEM;
}
More information about the vlc-commits
mailing list