mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -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
(cherry picked from commit dd32ff018a
)
This commit is contained in:
parent
bb4bd4b5c0
commit
70072c39dd
@ -51,6 +51,7 @@ transfer_cb (MetaSelection *selection,
|
|||||||
}
|
}
|
||||||
|
|
||||||
g_output_stream_close (stream, NULL, NULL);
|
g_output_stream_close (stream, NULL, NULL);
|
||||||
|
g_object_unref (stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -51,6 +51,7 @@ transfer_cb (MetaSelection *selection,
|
|||||||
}
|
}
|
||||||
|
|
||||||
g_output_stream_close (stream, NULL, NULL);
|
g_output_stream_close (stream, NULL, NULL);
|
||||||
|
g_object_unref (stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -77,6 +77,7 @@ transfer_cb (MetaSelection *selection,
|
|||||||
}
|
}
|
||||||
|
|
||||||
g_output_stream_close (stream, NULL, NULL);
|
g_output_stream_close (stream, NULL, NULL);
|
||||||
|
g_object_unref (stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
@ -367,6 +367,7 @@ transfer_cb (MetaSelection *selection,
|
|||||||
}
|
}
|
||||||
|
|
||||||
g_output_stream_close (stream, NULL, NULL);
|
g_output_stream_close (stream, NULL, NULL);
|
||||||
|
g_object_unref (stream);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
Reference in New Issue
Block a user