diff options
author | Vinicius Costa Gomes <vinicius.gomes@openbossa.org> | 2010-02-12 17:35:08 -0300 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-02-17 01:59:31 -0800 |
commit | 2e9a16ce07bae20c35f3205315d965d2e5e410ee (patch) | |
tree | 8bbf36338e07892488e2c113f78104f97223a1b5 | |
parent | 1c3aaaacc6575f0cf7c3c507ea88b6f3d14461f9 (diff) | |
download | ofono-2e9a16ce07bae20c35f3205315d965d2e5e410ee.tar.bz2 |
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.
-rw-r--r-- | gdbus/watch.c | 2 |
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); } |