[vlc-commits] xspf: fix memory leak

Hannes Domani git at videolan.org
Fri Feb 26 17:55:16 CET 2016


vlc | branch: master | Hannes Domani <ssbssa at yahoo.de> | Thu Feb 25 21:07:28 2016 +0100| [d4df67fb9ca8949654ff3b7589511d376c1d3d7a] | committer: Jean-Baptiste Kempf

xspf: fix memory leak

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/demux/playlist/xspf.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/demux/playlist/xspf.c b/modules/demux/playlist/xspf.c
index 30bf186..55c721a 100644
--- a/modules/demux/playlist/xspf.c
+++ b/modules/demux/playlist/xspf.c
@@ -519,6 +519,7 @@ static bool parse_track_node COMPLEX_INTERFACE
 
 end:
 
+    vlc_gc_decref(p_new_input);
     input_item_node_Delete(p_new_node);
     free(psz_value);
     return false;



More information about the vlc-commits mailing list