From a0a507326255e8e527aefa0e640e7f2bb507186c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Filip=20Ros=C3=A9en?= Date: Thu, 18 May 2017 12:08:25 +0200 Subject: [PATCH] demux/playlist: xspf/parse_track_node: fix leak on subnode failure MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit fixes: #18337 Signed-off-by: RĂ©mi Denis-Courmont --- 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 0a723ad5f3..23fe25e129 100644 --- a/modules/demux/playlist/xspf.c +++ b/modules/demux/playlist/xspf.c @@ -406,6 +406,7 @@ static bool parse_track_node COMPLEX_INTERFACE if (!p_handler->pf_handler.cmplx(p_demux, p_new_node, p_xml_reader, p_handler->name)) { input_item_node_Delete(p_new_node); + input_item_Release(p_new_input); return false; } -- 2.11.4.GIT