summaryrefslogtreecommitdiffstats
path: root/src/test
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-02-16 17:05:42 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2021-02-16 17:15:11 +0100
commitcfb1a0e555051190d8fe57ddc795aca49dcda210 (patch)
tree84c9bec811ecc8fd27d586377799ab150cc1a2fe /src/test
parentfuzz-systemctl-parse-argv: call static destuctors (diff)
downloadsystemd-cfb1a0e555051190d8fe57ddc795aca49dcda210.tar.xz
systemd-cfb1a0e555051190d8fe57ddc795aca49dcda210.zip
Rename strbuf_cleanup to strbuf_free
It frees the whole object.
Diffstat (limited to 'src/test')
-rw-r--r--src/test/test-strbuf.c2
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;