diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-16 17:05:42 +0100 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-02-16 17:15:11 +0100 |
commit | cfb1a0e555051190d8fe57ddc795aca49dcda210 (patch) | |
tree | 84c9bec811ecc8fd27d586377799ab150cc1a2fe /src/test/test-strbuf.c | |
parent | fuzz-systemctl-parse-argv: call static destuctors (diff) | |
download | systemd-cfb1a0e555051190d8fe57ddc795aca49dcda210.tar.xz systemd-cfb1a0e555051190d8fe57ddc795aca49dcda210.zip |
Rename strbuf_cleanup to strbuf_free
It frees the whole object.
Diffstat (limited to 'src/test/test-strbuf.c')
-rw-r--r-- | src/test/test-strbuf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-strbuf.c b/src/test/test-strbuf.c index 867be19c86..0cdef3fb72 100644 --- a/src/test/test-strbuf.c +++ b/src/test/test-strbuf.c @@ -12,7 +12,7 @@ static ssize_t add_string(struct strbuf *sb, const char *s) { } static void test_strbuf(void) { - _cleanup_(strbuf_cleanupp) struct strbuf *sb; + _cleanup_(strbuf_freep) struct strbuf *sb; _cleanup_strv_free_ char **l; ssize_t a, b, c, d, e, f, g, h; |