Properly free dbus error in atspi_accessible_get_process_id
authorMike Gorse <mgorse@novell.com>
Wed, 27 Jul 2011 01:16:45 +0000 (20:16 -0500)
committerMike Gorse <mgorse@novell.com>
Wed, 27 Jul 2011 01:16:45 +0000 (20:16 -0500)
atspi/atspi-accessible.c

index dba7fe0..cff761e 100644 (file)
@@ -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;
 }