diff options
Diffstat (limited to 'src/shared/install.c')
-rw-r--r-- | src/shared/install.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/shared/install.c b/src/shared/install.c index 5a780fe915..3bced1a5ee 100644 --- a/src/shared/install.c +++ b/src/shared/install.c @@ -44,10 +44,8 @@ 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_lookup_paths_free_ _cleanup_(lookup_paths_free) +#define _cleanup_install_context_done_ _cleanup_(install_context_done) static int lookup_paths_init_from_scope(LookupPaths *paths, UnitFileScope scope) { assert(paths); |