ui/dbus: fix leak regression
For some reason, during refactoring, an extra reference leak was introduced. Fixes: commit 7945576cf2 ("ui/dbus: factor out sending a scanout") Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Message-ID: <20260122113144.2046899-3-marcandre.lureau@redhat.com> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Marc-André Lureau committed
Jan 22, 2026 at 15:31 UTC
59bf093a64cff4eca5bc7c7d9afa8d58b7eadd50
1 file changed
+1
-2
ui/dbus-listener.c
+1
-2
@@ -815,8 +815,7 @@ static void ddl_scanout(DBusDisplayListener *ddl)
815
qemu_dbus_display1_listener_call_scanout(
816
ddl->proxy, surface_width(ddl->ds), surface_height(ddl->ds),
817
surface_stride(ddl->ds), surface_format(ddl->ds), v_data,
818
- G_DBUS_CALL_FLAGS_NONE, DBUS_DEFAULT_TIMEOUT, NULL, NULL,
819
- g_object_ref(ddl));
818
+ G_DBUS_CALL_FLAGS_NONE, DBUS_DEFAULT_TIMEOUT, NULL, NULL, NULL);
819
}
820
821
static void dbus_gfx_update(DisplayChangeListener *dcl,