From: Luis de Bethencourt Date: Mon, 2 Nov 2015 11:21:14 +0000 (+0000) Subject: dashdemux: fix memory leak X-Git-Tag: 1.19.3~507^2~7677 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f28fad6e833a1dc37aff8ac18b77234e7ba7f760;p=platform%2Fupstream%2Fgstreamer.git dashdemux: fix memory leak Free new_mpd, allocated with g_slice_new(), before going out of scope in goto error. CID 1338050 --- diff --git a/ext/dash/gstmpdparser.c b/ext/dash/gstmpdparser.c index 27846f0961..1359a1e3cf 100644 --- a/ext/dash/gstmpdparser.c +++ b/ext/dash/gstmpdparser.c @@ -2173,6 +2173,7 @@ gst_mpdparser_parse_root_node (GstMPDNode ** pointer, xmlNode * a_node) return TRUE; error: + gst_mpdparser_free_mpd_node (new_mpd); return FALSE; }