summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2014-08-06 07:57:43 +0200
committerStef Walter <stef@thewalter.net>2014-08-15 14:07:07 +0200
commit36e34057a202d389263e98030fbd775b28b28af6 (patch)
tree2d620aa248a65e6590fc4921ab56be9ad025f57d /src/login
parent926446f4aab62d5fa02840d39d661de61632292c (diff)
sd-bus: Remove bus arg from bus_verify_polkit_async_registry_free()
It's unneccessary, not used, and complicates callers of the function.
Diffstat (limited to 'src/login')
-rw-r--r--src/login/logind.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/logind.c b/src/login/logind.c
index 8ec8105357..006c56ae51 100644
--- a/src/login/logind.c
+++ b/src/login/logind.c
@@ -163,7 +163,7 @@ void manager_free(Manager *m) {
if (m->udev)
udev_unref(m->udev);
- bus_verify_polkit_async_registry_free(m->bus, m->polkit_registry);
+ bus_verify_polkit_async_registry_free(m->polkit_registry);
sd_bus_unref(m->bus);
sd_event_unref(m->event);