projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf492d3
)
ges: Plug a leak in ges-smart-adder
author
Thibault Saunier
<tsaunier@gnome.org>
Sat, 10 May 2014 20:48:12 +0000
(22:48 +0200)
committer
Thibault Saunier
<tsaunier@gnome.org>
Sat, 10 May 2014 20:48:12 +0000
(22:48 +0200)
COVERTY CID 1212166
ges/ges-smart-adder.c
patch
|
blob
|
history
diff --git
a/ges/ges-smart-adder.c
b/ges/ges-smart-adder.c
index
e2006cc
..
2eb1f9d
100644
(file)
--- a/
ges/ges-smart-adder.c
+++ b/
ges/ges-smart-adder.c
@@
-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;
}