dashdemux: plug mpd client leak

On parsing error, free the mpd client object

https://bugzilla.gnome.org/show_bug.cgi?id=760120
This commit is contained in:
Thiago Santos 2016-02-09 17:24:50 -03:00
parent 3191051828
commit 632111ae14

View file

@ -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;
}