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.
This commit is contained in:
Vinicius Costa Gomes 2010-02-12 17:35:08 -03:00 committed by Marcel Holtmann
parent 1c3aaaacc6
commit 2e9a16ce07
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}