summaryrefslogtreecommitdiffstats
path: root/src/hostname
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/hostname
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/hostname')
-rw-r--r--src/hostname/hostnamed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hostname/hostnamed.c b/src/hostname/hostnamed.c
index 893eb4cc0f..f0e643822a 100644
--- a/src/hostname/hostnamed.c
+++ b/src/hostname/hostnamed.c
@@ -91,7 +91,7 @@ static void context_destroy(Context *c) {
assert(c);
context_reset(c, UINT64_MAX);
- bus_verify_polkit_async_registry_free(c->polkit_registry);
+ hashmap_free(c->polkit_registry);
}
static void context_read_etc_hostname(Context *c) {