[mutter/wip/rstrode/rhel-8.0.0: 50/117] remote-desktop: Do not leak the virtual touchscreen
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/wip/rstrode/rhel-8.0.0: 50/117] remote-desktop: Do not leak the virtual touchscreen
- Date: Sun, 17 Feb 2019 17:27:02 +0000 (UTC)
commit a96f057ff1926598da1b7864edec021c154ea9de
Author: Olivier Fourdan <ofourdan redhat com>
Date: Mon Nov 19 11:49:41 2018 +0100
remote-desktop: Do not leak the virtual touchscreen
Virtual keyboard and pointer are freed on session close, but the
virtual touchscreen isn't.
Avoid a leak by freeing the virtual touchscreen along with the rest of
virtual devices.
src/backends/meta-remote-desktop-session.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/src/backends/meta-remote-desktop-session.c b/src/backends/meta-remote-desktop-session.c
index 73bcf663b..181b7ea46 100644
--- a/src/backends/meta-remote-desktop-session.c
+++ b/src/backends/meta-remote-desktop-session.c
@@ -160,6 +160,7 @@ meta_remote_desktop_session_close (MetaRemoteDesktopSession *session)
g_clear_object (&session->virtual_pointer);
g_clear_object (&session->virtual_keyboard);
+ g_clear_object (&session->virtual_touchscreen);
meta_dbus_session_notify_closed (META_DBUS_SESSION (session));
meta_dbus_remote_desktop_session_emit_closed (skeleton);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]