diff options
Diffstat (limited to 'src/shared/sleep-config.c')
-rw-r--r-- | src/shared/sleep-config.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/sleep-config.c b/src/shared/sleep-config.c index 2e3b47ddca..d388c89192 100644 --- a/src/shared/sleep-config.c +++ b/src/shared/sleep-config.c @@ -222,7 +222,7 @@ int battery_is_discharging_and_low(void) { /* Store current capacity of each battery before suspension and timestamp */ int fetch_batteries_capacity_by_name(Hashmap **ret) { _cleanup_(sd_device_enumerator_unrefp) sd_device_enumerator *e = NULL; - _cleanup_(hashmap_freep) Hashmap *batteries_capacity_by_name = NULL; + _cleanup_hashmap_free_ Hashmap *batteries_capacity_by_name = NULL; sd_device *dev; int r; |