diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-05-28 15:33:44 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-05-31 23:47:48 +0200 |
commit | 5d2a48da126e696dcd61baa75911d7f5fb2d076c (patch) | |
tree | bbc8aac0bd238dfd42fd29fc82d6e7e099ae976f /src/test/test-set.c | |
parent | oomd: drop unused key (diff) | |
download | systemd-5d2a48da126e696dcd61baa75911d7f5fb2d076c.tar.xz systemd-5d2a48da126e696dcd61baa75911d7f5fb2d076c.zip |
tree-wide: use _cleanup_set_free_ and friends
Instead of _cleanup_(set_freep) or so.
Diffstat (limited to 'src/test/test-set.c')
-rw-r--r-- | src/test/test-set.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/test-set.c b/src/test/test-set.c index 259ffa7ce2..0d5a6a1856 100644 --- a/src/test/test-set.c +++ b/src/test/test-set.c @@ -145,8 +145,8 @@ TEST(set_ensure_allocated) { } TEST(set_copy) { - _cleanup_(set_freep) Set *s = NULL; - _cleanup_(set_free_freep) Set *copy = NULL; + _cleanup_set_free_ Set *s = NULL; + _cleanup_set_free_free_ Set *copy = NULL; char *key1, *key2, *key3, *key4; key1 = strdup("key1"); |