From 1cf5edea954ab07d6397893d40385042d1109849 Mon Sep 17 00:00:00 2001 From: Mike Gorse Date: Tue, 26 Jul 2011 20:16:45 -0500 Subject: [PATCH] Properly free dbus error in atspi_accessible_get_process_id --- atspi/atspi-accessible.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atspi/atspi-accessible.c b/atspi/atspi-accessible.c index dba7fe06..cff761ed 100644 --- a/atspi/atspi-accessible.c +++ b/atspi/atspi-accessible.c @@ -1506,7 +1506,7 @@ atspi_accessible_get_process_id (AtspiAccessible *accessible, GError **error) dbus_message_unref (message); dbus_message_get_args (reply, NULL, DBUS_TYPE_UINT32, &pid, DBUS_TYPE_INVALID); dbus_message_unref (reply); - dbus_error_init (&error); + dbus_error_free (&d_error); return pid; } -- 2.34.1