x11-selection: Plug MetaX11SelectionOutputStream leak

https://gitlab.gnome.org/GNOME/mutter/merge_requests/991
This commit is contained in:
Sebastian Keller 2020-01-05 02:20:18 +01:00 committed by Georges Basile Stavracas Neto
parent 468b09c01e
commit 802309caf9

View File

@ -116,6 +116,7 @@ write_mimetypes_cb (GOutputStream *stream,
g_output_stream_write_bytes_finish (stream, res, &error);
g_output_stream_close (stream, NULL, NULL);
g_object_unref (stream);
if (error)
{