summaryrefslogtreecommitdiff
path: root/dbind
diff options
context:
space:
mode:
authorMike Gorse <mgorse@novell.com>2011-01-06 10:35:35 -0600
committerMike Gorse <mgorse@novell.com>2011-01-06 10:35:35 -0600
commit850fb83e06e088487e26888e03445beb2cb3cd18 (patch)
treed4129a28afeaee8c9940116f42edba71e09ec584 /dbind
parent6f05b6bb8943079f71f4ea8d4183478daa1cb6fc (diff)
downloadat-spi2-core-850fb83e06e088487e26888e03445beb2cb3cd18.tar.gz
Fix some memory leaks
Diffstat (limited to 'dbind')
-rw-r--r--dbind/dbind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbind/dbind.c b/dbind/dbind.c
index 29f50cb1..23046f2f 100644
--- a/dbind/dbind.c
+++ b/dbind/dbind.c
@@ -27,6 +27,7 @@ set_reply (DBusPendingCall * pending, void *user_data)
SpiReentrantCallClosure* closure = (SpiReentrantCallClosure *) user_data;
closure->reply = dbus_pending_call_steal_reply (pending);
+ dbus_pending_call_unref (pending);
}
DBusMessage *
@@ -99,7 +100,6 @@ dbind_method_call_reentrant_va (DBusConnection *cnx,
if (dbus_message_get_type (reply) == DBUS_MESSAGE_TYPE_ERROR)
{
const char *name = dbus_message_get_error_name (reply);
- dbus_set_error (err, name, g_strdup (""));
goto out;
}
/* demarshal */