summaryrefslogtreecommitdiff
path: root/gdbus
diff options
context:
space:
mode:
authorVinicius Costa Gomes <vinicius.gomes@openbossa.org>2010-02-12 17:35:08 -0300
committerMarcel Holtmann <marcel@holtmann.org>2010-02-17 01:59:12 -0800
commitfb02febb39a318a1e4d846956932ea24a88423d7 (patch)
tree6fed213a3988a3d49445af454d92811bed4aa552 /gdbus
parentc9479134d6444c9e9da98ad5bb5ba4891a86d51b (diff)
downloadconnman-fb02febb39a318a1e4d846956932ea24a88423d7.tar.gz
connman-fb02febb39a318a1e4d846956932ea24a88423d7.tar.bz2
connman-fb02febb39a318a1e4d846956932ea24a88423d7.zip
Fix: a pending call was leaking in check_service
This was triggering an assert inside libdbus when the timeout inside the leaking pending call expired. The assert said that we were trying to remove an nonexistent timeout.
Diffstat (limited to 'gdbus')
-rw-r--r--gdbus/watch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gdbus/watch.c b/gdbus/watch.c
index 75e42103..1d479fac 100644
--- a/gdbus/watch.c
+++ b/gdbus/watch.c
@@ -535,6 +535,8 @@ static void check_service(DBusConnection *connection, const char *name,
dbus_pending_call_set_notify(call, service_reply, data, NULL);
+ dbus_pending_call_unref(call);
+
done:
dbus_message_unref(message);
}