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:
f63fa80
)
glmixerbin: fix minor leak
author
Tim-Philipp Müller
<tim@centricular.com>
Fri, 6 Nov 2015 12:30:12 +0000
(12:30 +0000)
committer
Tim-Philipp Müller
<tim@centricular.com>
Fri, 6 Nov 2015 13:00:55 +0000
(13:00 +0000)
Don't leak removed list node.
ext/gl/gstglmixerbin.c
patch
|
blob
|
history
diff --git
a/ext/gl/gstglmixerbin.c
b/ext/gl/gstglmixerbin.c
index
c6488b5
..
6f83f82
100644
(file)
--- a/
ext/gl/gstglmixerbin.c
+++ b/
ext/gl/gstglmixerbin.c
@@
-458,7
+458,7
@@
gst_gl_mixer_bin_release_pad (GstElement * element, GstPad * pad)
struct input_chain *chain = l->data;
if (GST_PAD (chain->ghost_pad) == pad) {
self->priv->input_chains =
- g_list_
remov
e_link (self->priv->input_chains, l);
+ g_list_
delet
e_link (self->priv->input_chains, l);
GST_OBJECT_UNLOCK (element);
_free_input_chain (chain);