* [PATCH] dbus: Properly dispose touch/mouse dbus objects
@ 2023-09-01 10:30 Bilal Elmoussaoui
2023-09-01 10:48 ` Philippe Mathieu-Daudé
0 siblings, 1 reply; 3+ messages in thread
From: Bilal Elmoussaoui @ 2023-09-01 10:30 UTC (permalink / raw)
To: qemu-devel; +Cc: Marc-André Lureau, Gerd Hoffmann, Bilal Elmoussaoui
---
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);
--
2.41.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] dbus: Properly dispose touch/mouse dbus objects
2023-09-01 10:30 [PATCH] dbus: Properly dispose touch/mouse dbus objects Bilal Elmoussaoui
@ 2023-09-01 10:48 ` Philippe Mathieu-Daudé
2023-09-01 12:45 ` Bilal Elmoussaoui
0 siblings, 1 reply; 3+ messages in thread
From: Philippe Mathieu-Daudé @ 2023-09-01 10:48 UTC (permalink / raw)
To: Bilal Elmoussaoui, qemu-devel; +Cc: Marc-André Lureau, Gerd Hoffmann
Hi Bilal,
Fixes: 142ca628a7 ("ui: add a D-Bus display backend")
Fixes: de9f844ce2 ("ui/dbus: Expose a touch device interface")
See
https://www.qemu.org/docs/master/devel/submitting-a-patch.html#patch-emails-must-include-a-signed-off-by-line
Your patches must include a Signed-off-by: line. This is a
hard requirement because it’s how you say “I’m legally okay
to contribute this and happy for it to go into QEMU”.
On 1/9/23 12:30, Bilal Elmoussaoui wrote:
> ---
> 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);
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] dbus: Properly dispose touch/mouse dbus objects
2023-09-01 10:48 ` Philippe Mathieu-Daudé
@ 2023-09-01 12:45 ` Bilal Elmoussaoui
0 siblings, 0 replies; 3+ messages in thread
From: Bilal Elmoussaoui @ 2023-09-01 12:45 UTC (permalink / raw)
To: Philippe Mathieu-Daudé
Cc: qemu-devel, Marc-André Lureau, Gerd Hoffmann
[-- Attachment #1: Type: text/plain, Size: 1345 bytes --]
Hi Philippe,
Sorry, I forgot that again. Sent a v2
On Fri, Sep 1, 2023 at 12:48 PM Philippe Mathieu-Daudé <philmd@linaro.org>
wrote:
> Hi Bilal,
>
> Fixes: 142ca628a7 ("ui: add a D-Bus display backend")
> Fixes: de9f844ce2 ("ui/dbus: Expose a touch device interface")
>
> See
>
> https://www.qemu.org/docs/master/devel/submitting-a-patch.html#patch-emails-must-include-a-signed-off-by-line
>
> Your patches must include a Signed-off-by: line. This is a
> hard requirement because it’s how you say “I’m legally okay
> to contribute this and happy for it to go into QEMU”.
>
> On 1/9/23 12:30, Bilal Elmoussaoui wrote:
> > ---
> > 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);
>
>
[-- Attachment #2: Type: text/html, Size: 2026 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-09-01 12:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-01 10:30 [PATCH] dbus: Properly dispose touch/mouse dbus objects Bilal Elmoussaoui
2023-09-01 10:48 ` Philippe Mathieu-Daudé
2023-09-01 12:45 ` Bilal Elmoussaoui
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).