summaryrefslogtreecommitdiffstats
path: root/src/sysext/sysext.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/sysext/sysext.c')
-rw-r--r--src/sysext/sysext.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sysext/sysext.c b/src/sysext/sysext.c
index f5b2248040..ec231da7a8 100644
--- a/src/sysext/sysext.c
+++ b/src/sysext/sysext.c
@@ -788,7 +788,7 @@ static int merge(Hashmap *images) {
}
static int image_discover_and_read_metadata(Hashmap **ret_images) {
- _cleanup_(hashmap_freep) Hashmap *images = NULL;
+ _cleanup_hashmap_free_ Hashmap *images = NULL;
Image *img;
int r;
@@ -814,7 +814,7 @@ static int image_discover_and_read_metadata(Hashmap **ret_images) {
}
static int verb_merge(int argc, char **argv, void *userdata) {
- _cleanup_(hashmap_freep) Hashmap *images = NULL;
+ _cleanup_hashmap_free_ Hashmap *images = NULL;
int r;
r = have_effective_cap(CAP_SYS_ADMIN);
@@ -852,7 +852,7 @@ static int verb_merge(int argc, char **argv, void *userdata) {
}
static int verb_refresh(int argc, char **argv, void *userdata) {
- _cleanup_(hashmap_freep) Hashmap *images = NULL;
+ _cleanup_hashmap_free_ Hashmap *images = NULL;
int r;
r = have_effective_cap(CAP_SYS_ADMIN);
@@ -892,7 +892,7 @@ static int verb_refresh(int argc, char **argv, void *userdata) {
}
static int verb_list(int argc, char **argv, void *userdata) {
- _cleanup_(hashmap_freep) Hashmap *images = NULL;
+ _cleanup_hashmap_free_ Hashmap *images = NULL;
_cleanup_(table_unrefp) Table *t = NULL;
Image *img;
int r;