[vlc-commits] asf: Fix memory leak

Hugo Beauzée-Luyssen git at videolan.org
Fri Feb 22 14:56:46 CET 2019


vlc | branch: master | Hugo Beauzée-Luyssen <hugo at beauzee.fr> | Fri Feb 22 12:02:23 2019 +0100| [46ba33cb8614eed4f625a65b4253839720990c0b] | committer: Hugo Beauzée-Luyssen

asf: Fix memory leak

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=46ba33cb8614eed4f625a65b4253839720990c0b
---

 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 464676a4f2..7ae87e25e5 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