diff --git a/src/x11/meta-x11-selection.c b/src/x11/meta-x11-selection.c index 17b0c1e29..fbb46d680 100644 --- a/src/x11/meta-x11-selection.c +++ b/src/x11/meta-x11-selection.c @@ -298,6 +298,7 @@ source_new_cb (GObject *object, { meta_selection_set_owner (selection, selection_type, source); g_set_object (&x11_display->selection.owners[selection_type], source); + g_object_unref (source); } else if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) {