[at-spi2-core] Properly free dbus error in atspi_accessible_get_process_id
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [at-spi2-core] Properly free dbus error in atspi_accessible_get_process_id
- Date: Wed, 27 Jul 2011 01:34:28 +0000 (UTC)
commit 1cf5edea954ab07d6397893d40385042d1109849
Author: Mike Gorse <mgorse novell com>
Date: Tue Jul 26 20:16:45 2011 -0500
Properly free dbus error in atspi_accessible_get_process_id
atspi/atspi-accessible.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/atspi/atspi-accessible.c b/atspi/atspi-accessible.c
index dba7fe0..cff761e 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]