From 632111ae144034b783eca28a24fc94669f49d0c6 Mon Sep 17 00:00:00 2001 From: Thiago Santos Date: Tue, 9 Feb 2016 17:24:50 -0300 Subject: [PATCH] dashdemux: plug mpd client leak On parsing error, free the mpd client object https://bugzilla.gnome.org/show_bug.cgi?id=760120 --- ext/dash/gstdashdemux.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ext/dash/gstdashdemux.c b/ext/dash/gstdashdemux.c index 6232325d64..10ebd7b3b2 100644 --- a/ext/dash/gstdashdemux.c +++ b/ext/dash/gstdashdemux.c @@ -1499,6 +1499,7 @@ gst_dash_demux_update_manifest_data (GstAdaptiveDemux * demux, * source element and we have received the 404 HTML response instead of * the manifest */ GST_WARNING_OBJECT (demux, "Error parsing the manifest."); + gst_mpd_client_free (new_client); gst_buffer_unmap (buffer, &mapinfo); return GST_FLOW_ERROR; }