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:
1b755eb
)
xvimagesink: fix pool leak
author
Vineeth T M
<vineeth.tm@samsung.com>
Mon, 18 May 2015 07:16:10 +0000
(16:16 +0900)
committer
Sebastian Dröge
<sebastian@centricular.com>
Mon, 18 May 2015 07:40:37 +0000
(10:40 +0300)
During set caps when config fails, the referenced newpool
is not unref ed.
https://bugzilla.gnome.org/show_bug.cgi?id=749530
sys/xvimage/xvimagesink.c
patch
|
blob
|
history
diff --git
a/sys/xvimage/xvimagesink.c
b/sys/xvimage/xvimagesink.c
index
ad2d773
..
7b47e42
100644
(file)
--- a/
sys/xvimage/xvimagesink.c
+++ b/
sys/xvimage/xvimagesink.c
@@
-828,6
+828,7
@@
no_display_size:
config_failed:
{
GST_ERROR_OBJECT (xvimagesink, "failed to set config.");
+ gst_object_unref (newpool);
g_mutex_unlock (&xvimagesink->flow_lock);
return FALSE;
}