mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
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.
This commit is contained in:
parent
ac6039bd2a
commit
4aa1e221e4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user