diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-12-23 21:28:22 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-12-23 21:28:48 +0100 |
commit | d04c1fb8e215600b4950c6778c6c16ddafc14024 (patch) | |
tree | 796dc9260b6f0419c747a5b115f7307751d354d2 /src/machine/machined.c | |
parent | 18d703816300790b041c4fd6991e3561aa2704cb (diff) |
machined: introduce polkit for OpenLogin() call
This way "machinectl login" can be opened up to run without privileges.
Diffstat (limited to 'src/machine/machined.c')
-rw-r--r-- | src/machine/machined.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/machine/machined.c b/src/machine/machined.c index 82cfcf0fd9..c5c20abf0c 100644 --- a/src/machine/machined.c +++ b/src/machine/machined.c @@ -76,6 +76,8 @@ void manager_free(Manager *m) { hashmap_free(m->machine_units); hashmap_free(m->machine_leaders); + bus_verify_polkit_async_registry_free(m->polkit_registry); + sd_bus_unref(m->bus); sd_event_unref(m->event); |