]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/libsystemd/sd-device/test-sd-device.c
tree-wide: use _cleanup_set_free_ and friends
[thirdparty/systemd.git] / src / libsystemd / sd-device / test-sd-device.c
index 8c6d59e0409d3d231b6f2a90a22e13beb2c37273..fb3ae9f329cb4a39d9b309b37121f7779e7a0eac 100644 (file)
@@ -266,7 +266,7 @@ static void test_sd_device_enumerator_filter_subsystem_one(
 
 static bool test_sd_device_enumerator_filter_subsystem_trial(void) {
         _cleanup_(sd_device_enumerator_unrefp) sd_device_enumerator *e = NULL;
-        _cleanup_(hashmap_freep) Hashmap *subsystems = NULL;
+        _cleanup_hashmap_free_ Hashmap *subsystems = NULL;
         unsigned n_new_dev = 0, n_removed_dev = 0;
         sd_device *d;
         Hashmap *h;