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:
2e6d617
)
pad: Fix refcount bug by unreffing the correct variable
author
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Tue, 18 Sep 2012 10:14:34 +0000
(12:14 +0200)
committer
Sebastian Dröge
<sebastian.droege@collabora.co.uk>
Tue, 18 Sep 2012 10:46:37 +0000
(12:46 +0200)
gst/gstpad.c
patch
|
blob
|
history
diff --git
a/gst/gstpad.c
b/gst/gstpad.c
index
04c285e
..
a429226
100644
(file)
--- a/
gst/gstpad.c
+++ b/
gst/gstpad.c
@@
-1841,7
+1841,7
@@
gst_pad_unlink (GstPad * srcpad, GstPad * sinkpad)
ACQUIRE_PARENT (srcpad, tmpparent, no_src_parent);
GST_PAD_UNLINKFUNC (srcpad) (srcpad, tmpparent);
- RELEASE_PARENT (parent);
+ RELEASE_PARENT (
tmp
parent);
}
no_src_parent:
if (GST_PAD_UNLINKFUNC (sinkpad)) {
@@
-1850,7
+1850,7
@@
no_src_parent:
ACQUIRE_PARENT (sinkpad, tmpparent, no_sink_parent);
GST_PAD_UNLINKFUNC (sinkpad) (sinkpad, tmpparent);
- RELEASE_PARENT (parent);
+ RELEASE_PARENT (
tmp
parent);
}
no_sink_parent: