mirror of git://git.sysmocom.de/ofono
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:
parent
1c3aaaacc6
commit
2e9a16ce07
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue