mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
ges: Plug a leak in ges-smart-adder
COVERTY CID 1212166
This commit is contained in:
parent
cf492d3839
commit
3c1518be6c
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@ _request_new_pad (GstElement * element, GstPadTemplate * templ,
|
|||
infos->adder_pad = gst_element_request_pad (self->adder, templ, NULL, caps);
|
||||
if (infos->adder_pad == NULL) {
|
||||
GST_WARNING_OBJECT (element, "Could not get any pad from GstAdder");
|
||||
g_slice_free (PadInfos, infos);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue