Merge branch 'wip/sadiq/fixes' into 'master'

gdkselectioninputstream-x11: Fix memory leak

See merge request GNOME/gtk!340
This commit is contained in:
Matthias Clasen 2018-09-16 17:06:29 +00:00
commit 563fb97f90

View File

@ -140,7 +140,7 @@ gdk_x11_selection_input_stream_flush (GdkX11SelectionInputStream *stream)
written, priv->pending_size));
g_task_return_int (priv->pending_task, written);
priv->pending_task = NULL;
g_clear_object (&priv->pending_task);
priv->pending_data = NULL;
priv->pending_size = 0;
}