summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorClaudio Takahasi <claudio.takahasi@openbossa.org>2008-04-01 12:46:15 +0000
committerClaudio Takahasi <claudio.takahasi@openbossa.org>2008-04-01 12:46:15 +0000
commit6713eab44b740778179e5740afb43d457c3afbc2 (patch)
tree972abc2c0d4a80c3e25d8761bb513f9763f208c6 /common
parent2fc88679b39c0d5db43973d1a3cfee7475c67538 (diff)
Removed pending call memory leak for external service registration
Diffstat (limited to 'common')
-rw-r--r--common/dbus.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/dbus.c b/common/dbus.c
index aef88c7c..53e1046b 100644
--- a/common/dbus.c
+++ b/common/dbus.c
@@ -915,6 +915,7 @@ void register_external_service(DBusConnection *conn, const char *identifier,
}
dbus_pending_call_set_notify(call, external_reply, NULL, NULL);
+ dbus_pending_call_unref(call);
dbus_message_unref(msg);
}