chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sd-bus: Remove bus arg from bus_verify_polkit_async_registry_free()
[elogind.git]
/
src
/
locale
/
localed.c
diff --git
a/src/locale/localed.c
b/src/locale/localed.c
index 3cfc2ea4d3029d0b476581c18eb87e2b6cff60db..4d7d02b9a3a2d6f5591f59a8a05208934464e0b2 100644
(file)
--- a/
src/locale/localed.c
+++ b/
src/locale/localed.c
@@
-131,12
+131,12
@@
static void context_free_locale(Context *c) {
free_and_replace(&c->locale[p], NULL);
}
free_and_replace(&c->locale[p], NULL);
}
-static void context_free(Context *c
, sd_bus *bus
) {
+static void context_free(Context *c) {
context_free_locale(c);
context_free_x11(c);
context_free_vconsole(c);
context_free_locale(c);
context_free_x11(c);
context_free_vconsole(c);
- bus_verify_polkit_async_registry_free(
bus,
c->polkit_registry);
+ bus_verify_polkit_async_registry_free(c->polkit_registry);
};
static void locale_simplify(Context *c) {
};
static void locale_simplify(Context *c) {
@@
-1160,7
+1160,7
@@
int main(int argc, char *argv[]) {
}
finish:
}
finish:
- context_free(&context
, bus
);
+ context_free(&context);
return r < 0 ? EXIT_FAILURE : EXIT_SUCCESS;
}
return r < 0 ? EXIT_FAILURE : EXIT_SUCCESS;
}