[vlc-devel] [PATCH] xspf: fix memory leak

Hannes Domani ssbssa at yahoo.de
Thu Feb 25 21:07:28 CET 2016


---
 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;
-- 
2.7.0



More information about the vlc-devel mailing list