projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9efa9df
)
xvimagesink: fix pad memory leak
author
Vineeth TM
<vineeth.tm@samsung.com>
Tue, 7 Jul 2015 00:31:01 +0000
(09:31 +0900)
committer
Tim-Philipp Müller
<tim@centricular.com>
Tue, 7 Jul 2015 08:28:12 +0000
(09:28 +0100)
pad is not being freed when xwindow is not created
https://bugzilla.gnome.org/show_bug.cgi?id=752042
sys/xvimage/xvimagesink.c
patch
|
blob
|
history
diff --git
a/sys/xvimage/xvimagesink.c
b/sys/xvimage/xvimagesink.c
index
6c94725
..
80b452b
100644
(file)
--- a/
sys/xvimage/xvimagesink.c
+++ b/
sys/xvimage/xvimagesink.c
@@
-1128,6
+1128,7
@@
gst_xv_image_sink_navigation_send_event (GstNavigation * navigation,
if (!(xwindow = xvimagesink->xwindow)) {
g_mutex_unlock (&xvimagesink->flow_lock);
+ gst_object_unref (peer);
return;
}