wayland: Free selection streams streams after transfer

They were only being closed but never freed.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1293
This commit is contained in:
Sebastian Keller 2020-06-07 15:11:35 +02:00 committed by Carlos Garnacho
parent 019643bad0
commit dd32ff018a
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