[vlc-commits] asf: Fix memory leak
Hugo Beauzée-Luyssen
git at videolan.org
Tue Mar 12 07:32:50 CET 2019
vlc/vlc-3.0 | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Feb 22 12:02:23 2019 +0100| [dd374778749b222b4f5960ed275de250e4a61b50] | committer: Jean-Baptiste Kempf
asf: Fix memory leak
(cherry picked from commit 46ba33cb8614eed4f625a65b4253839720990c0b)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=dd374778749b222b4f5960ed275de250e4a61b50
---
modules/demux/asf/libasf.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/demux/asf/libasf.c b/modules/demux/asf/libasf.c
index 119ef4d0e3..317f513220 100644
--- a/modules/demux/asf/libasf.c
+++ b/modules/demux/asf/libasf.c
@@ -1408,6 +1408,7 @@ static void ASF_FreeObject_marker( asf_object_t *p_obj)
{
FREENULL( p_mk->marker[i].p_marker_description );
}
+ FREENULL( p_mk->marker );
FREENULL( p_mk->name );
}
More information about the vlc-commits
mailing list