mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 15:40:41 -05:00
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:
parent
019643bad0
commit
dd32ff018a
@ -51,6 +51,7 @@ transfer_cb (MetaSelection *selection,
|
||||
}
|
||||
|
||||
g_output_stream_close (stream, NULL, NULL);
|
||||
g_object_unref (stream);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -51,6 +51,7 @@ transfer_cb (MetaSelection *selection,
|
||||
}
|
||||
|
||||
g_output_stream_close (stream, NULL, NULL);
|
||||
g_object_unref (stream);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -77,6 +77,7 @@ transfer_cb (MetaSelection *selection,
|
||||
}
|
||||
|
||||
g_output_stream_close (stream, NULL, NULL);
|
||||
g_object_unref (stream);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -367,6 +367,7 @@ transfer_cb (MetaSelection *selection,
|
||||
}
|
||||
|
||||
g_output_stream_close (stream, NULL, NULL);
|
||||
g_object_unref (stream);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user