qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2] dbus: Properly dispose touch/mouse dbus objects


From: Philippe Mathieu-Daudé
Subject: Re: [PATCH v2] dbus: Properly dispose touch/mouse dbus objects
Date: Fri, 1 Sep 2023 16:28:13 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.14.0

On 1/9/23 14:45, Bilal Elmoussaoui wrote:

Fixes: 142ca628a7 ("ui: add a D-Bus display backend")
Fixes: de9f844ce2 ("ui/dbus: Expose a touch device interface")

Signed-off-by: Bilal Elmoussaoui <belmouss@redhat.com>
---
  ui/dbus-console.c | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/ui/dbus-console.c b/ui/dbus-console.c
index e19774f985..36f7349585 100644
--- a/ui/dbus-console.c
+++ b/ui/dbus-console.c
@@ -150,6 +150,8 @@ dbus_display_console_dispose(GObject *object)
      DBusDisplayConsole *ddc = DBUS_DISPLAY_CONSOLE(object);
unregister_displaychangelistener(&ddc->dcl);
+    g_clear_object(&ddc->iface_touch);
+    g_clear_object(&ddc->iface_mouse);
      g_clear_object(&ddc->iface_kbd);
      g_clear_object(&ddc->iface);
      g_clear_pointer(&ddc->listeners, g_hash_table_unref);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]