mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
gdkselectioninputstream-x11: Fix memory leak
This commit is contained in:
parent
d7a5dcba0b
commit
1ce960c85b
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user