X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=src%2Fshared%2Finstall.c;h=987b36d40b4eba187dc2e11d435d10be3344b1c9;hb=fb15be839500c39f6c2f006f45306d439e1a7add;hp=5a780fe915f1a3ad41bbb7e0a20b0a95ed08b7d0;hpb=b47d419c25ecc735615a1088060c1ec8bef1e41f;p=elogind.git diff --git a/src/shared/install.c b/src/shared/install.c index 5a780fe91..987b36d40 100644 --- a/src/shared/install.c +++ b/src/shared/install.c @@ -44,10 +44,7 @@ typedef struct { Hashmap *have_installed; } InstallContext; -#define _cleanup_lookup_paths_free_ \ - __attribute__((cleanup(lookup_paths_free))) -#define _cleanup_install_context_done_ \ - __attribute__((cleanup(install_context_done))) +#define _cleanup_install_context_done_ _cleanup_(install_context_done) static int lookup_paths_init_from_scope(LookupPaths *paths, UnitFileScope scope) { assert(paths);