1
0
Fork 0

x11-selection: Plug potential GInputStream leak

The stream was not freed in the error case. I have never observed this
one in practice though.

https://gitlab.gnome.org/GNOME/mutter/merge_requests/1001
This commit is contained in:
Sebastian Keller 2020-01-11 03:57:04 +01:00 committed by Robert Mader
parent 8e6821bc65
commit 861e5caf8c

View file

@ -190,6 +190,7 @@ read_mimetypes_cb (GInputStream *stream,
{
g_task_return_error (task, error);
g_object_unref (task);
g_object_unref (stream);
return;
}