diff options
author | Vineeth T M <vineeth.tm@samsung.com> | 2015-05-18 16:16:10 +0900 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2015-05-18 10:40:37 +0300 |
commit | b1bc2af76636dc6db7577232ad68ae08ef007db1 (patch) | |
tree | 5824caa531ac4a129279330e98b6e934b198b69b /sys | |
parent | 1b755eb272f4fd3cd9d5d31cc61927520fe033ff (diff) | |
download | gst-plugins-base-b1bc2af76636dc6db7577232ad68ae08ef007db1.tar.gz gst-plugins-base-b1bc2af76636dc6db7577232ad68ae08ef007db1.tar.xz |
xvimagesink: fix pool leak
During set caps when config fails, the referenced newpool
is not unref ed.
https://bugzilla.gnome.org/show_bug.cgi?id=749530
Diffstat (limited to 'sys')
-rw-r--r-- | sys/xvimage/xvimagesink.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/xvimage/xvimagesink.c b/sys/xvimage/xvimagesink.c index ad2d77325..7b47e42a3 100644 --- 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; } |