diff --git a/src/x11/meta-x11-selection.c b/src/x11/meta-x11-selection.c index 882b43297..5332e9d54 100644 --- a/src/x11/meta-x11-selection.c +++ b/src/x11/meta-x11-selection.c @@ -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) {