summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2018-03-06 19:59:29 +0100
committerTimm Bäder <mail@baedert.org>2018-03-06 19:59:29 +0100
commit2f5d5ca9f8f8b4f4fcd5fe61e562ec624c6dfadf (patch)
tree90d67616d40de32de9ac2656d5b9c03b20b415f9 /gdk
parent49a7bf267b64c6364e420bf2836f34cfa9d1d57f (diff)
downloadgtk+-2f5d5ca9f8f8b4f4fcd5fe61e562ec624c6dfadf.tar.gz
GdkSelectionInputStreamX11: Plug a memory leak
Diffstat (limited to 'gdk')
-rw-r--r--gdk/x11/gdkselectioninputstream-x11.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdk/x11/gdkselectioninputstream-x11.c b/gdk/x11/gdkselectioninputstream-x11.c
index d006ab6e98..c3ae895344 100644
--- a/gdk/x11/gdkselectioninputstream-x11.c
+++ b/gdk/x11/gdkselectioninputstream-x11.c
@@ -225,6 +225,7 @@ gdk_x11_selection_input_stream_read_async (GInputStream *input_stream,
priv->selection, priv->target,
size, count));
g_task_return_int (task, size);
+ g_object_unref (task);
}
else
{