Skip to content
Snippets Groups Projects
Commit 31257a26 authored by Vincent Penquerc'h's avatar Vincent Penquerc'h
Browse files

smart-video-mixer: fix memory leak on error path

Coverity 1212166
parent edd95cf5
No related branches found
No related tags found
No related merge requests found
......@@ -108,6 +108,7 @@ _request_new_pad (GstElement * element, GstPadTemplate * templ,
if (infos->mixer_pad == NULL) {
GST_WARNING_OBJECT (element, "Could not get any pad from GstMixer");
g_slice_free (PadInfos, infos);
return NULL;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment