[gnome-remote-desktop] vnc-pipewire-stream: Do not leak pending frame, when destroying stream
- From: Jonas Ådahl <jadahl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-remote-desktop] vnc-pipewire-stream: Do not leak pending frame, when destroying stream
- Date: Wed, 16 Feb 2022 09:41:53 +0000 (UTC)
commit be7c9eaf424e7ecc91aaf992921ba3956a0e233b
Author: Pascal Nowack <Pascal Nowack gmx de>
Date: Mon Jan 31 15:15:02 2022 +0100
vnc-pipewire-stream: Do not leak pending frame, when destroying stream
src/grd-vnc-pipewire-stream.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/grd-vnc-pipewire-stream.c b/src/grd-vnc-pipewire-stream.c
index a6702c98..2acb4305 100644
--- a/src/grd-vnc-pipewire-stream.c
+++ b/src/grd-vnc-pipewire-stream.c
@@ -901,6 +901,8 @@ grd_vnc_pipewire_stream_finalize (GObject *object)
g_clear_pointer (&stream->pipewire_source, g_source_unref);
}
+ g_clear_pointer (&stream->pending_frame, grd_vnc_frame_unref);
+
g_mutex_clear (&stream->frame_mutex);
G_OBJECT_CLASS (grd_vnc_pipewire_stream_parent_class)->finalize (object);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]