wayland: Free selection streams streams after transfer

They were only being closed but never freed.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1293

(cherry picked from commit dd32ff018a)
This commit is contained in:
Sebastian Keller 2020-06-07 15:11:35 +02:00 committed by Robert Mader
parent bb4bd4b5c0
commit 70072c39dd
4 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,7 @@ transfer_cb (MetaSelection *selection,
}
g_output_stream_close (stream, NULL, NULL);
g_object_unref (stream);
}
static void

View File

@ -51,6 +51,7 @@ transfer_cb (MetaSelection *selection,
}
g_output_stream_close (stream, NULL, NULL);
g_object_unref (stream);
}
static void

View File

@ -77,6 +77,7 @@ transfer_cb (MetaSelection *selection,
}
g_output_stream_close (stream, NULL, NULL);
g_object_unref (stream);
}
static void

View File

@ -367,6 +367,7 @@ transfer_cb (MetaSelection *selection,
}
g_output_stream_close (stream, NULL, NULL);
g_object_unref (stream);
}
static void