summaryrefslogtreecommitdiffstats
path: root/src/core/dbus.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2023-11-24 10:56:28 +0100
committerLuca Boccassi <bluca@debian.org>2024-01-03 11:53:52 +0100
commit2a1ffd3e3ada02f9b38adf0659423087074e62eb (patch)
tree5fa893c93711a726bb299ee0c8cba98f47120a70 /src/core/dbus.c
parentbus-polkit: add support for authenticating varlink peers via polkit (diff)
downloadsystemd-2a1ffd3e3ada02f9b38adf0659423087074e62eb.tar.xz
systemd-2a1ffd3e3ada02f9b38adf0659423087074e62eb.zip
bus-polkit: port polkit_registry to use value destructors in hash_ops
Diffstat (limited to 'src/core/dbus.c')
-rw-r--r--src/core/dbus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/dbus.c b/src/core/dbus.c
index f7d4a97096..e24c5bbc53 100644
--- a/src/core/dbus.c
+++ b/src/core/dbus.c
@@ -1073,7 +1073,7 @@ void bus_done(Manager *m) {
assert(!m->subscribed);
m->deserialized_subscribed = strv_free(m->deserialized_subscribed);
- bus_verify_polkit_async_registry_free(m->polkit_registry);
+ m->polkit_registry = hashmap_free(m->polkit_registry);
}
int bus_fdset_add_all(Manager *m, FDSet *fds) {