diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-11-23 06:12:55 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2018-11-23 06:22:30 +0900 |
commit | af7865c1b7298f531070ca02281408b52b4c5df2 (patch) | |
tree | 657caa93ce69f2112d909a613dea0148c40a0f6d /src/locale/keymap-util.c | |
parent | 6804d7a849612eb470397aa4f4aae46865bfdb92 (diff) | |
download | systemd-af7865c1b7298f531070ca02281408b52b4c5df2.tar.gz |
locale: store polkit_registry in Context
Diffstat (limited to 'src/locale/keymap-util.c')
-rw-r--r-- | src/locale/keymap-util.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/locale/keymap-util.c b/src/locale/keymap-util.c index 495261f4d7..0bf62df22e 100644 --- a/src/locale/keymap-util.c +++ b/src/locale/keymap-util.c @@ -5,6 +5,7 @@ #include <string.h> #include <unistd.h> +#include "bus-util.h" #include "def.h" #include "env-util.h" #include "fd-util.h" @@ -76,6 +77,8 @@ void context_clear(Context *c) { sd_bus_message_unref(c->locale_cache); sd_bus_message_unref(c->x11_cache); sd_bus_message_unref(c->vc_cache); + + bus_verify_polkit_async_registry_free(c->polkit_registry); }; void locale_simplify(char *locale[_VARIABLE_LC_MAX]) { |