From cfb1a0e555051190d8fe57ddc795aca49dcda210 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Tue, 16 Feb 2021 17:05:42 +0100 Subject: Rename strbuf_cleanup to strbuf_free It frees the whole object. --- src/test/test-strbuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/test') 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; -- cgit v1.2.3