summaryrefslogtreecommitdiffstats
path: root/src/locale
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/locale
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/locale')
-rw-r--r--src/locale/localed-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/locale/localed-util.c b/src/locale/localed-util.c
index e4e57a0f4a..0489df573b 100644
--- a/src/locale/localed-util.c
+++ b/src/locale/localed-util.c
@@ -304,7 +304,7 @@ void context_clear(Context *c) {
c->x11_cache = sd_bus_message_unref(c->x11_cache);
c->vc_cache = sd_bus_message_unref(c->vc_cache);
- c->polkit_registry = bus_verify_polkit_async_registry_free(c->polkit_registry);
+ c->polkit_registry = hashmap_free(c->polkit_registry);
};
X11Context *context_get_x11_context(Context *c) {