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:
parent
3191051828
commit
632111ae14
@ -1499,6 +1499,7 @@ gst_dash_demux_update_manifest_data (GstAdaptiveDemux * demux,
|
|||||||
* source element and we have received the 404 HTML response instead of
|
* source element and we have received the 404 HTML response instead of
|
||||||
* the manifest */
|
* the manifest */
|
||||||
GST_WARNING_OBJECT (demux, "Error parsing the manifest.");
|
GST_WARNING_OBJECT (demux, "Error parsing the manifest.");
|
||||||
|
gst_mpd_client_free (new_client);
|
||||||
gst_buffer_unmap (buffer, &mapinfo);
|
gst_buffer_unmap (buffer, &mapinfo);
|
||||||
return GST_FLOW_ERROR;
|
return GST_FLOW_ERROR;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user