From d539b920c92b079ba1fd258fc90dac642eed9110 Mon Sep 17 00:00:00 2001 From: Laria Carolin Chabowski Date: Sat, 22 Jan 2022 15:56:19 +0100 Subject: [PATCH] test.h: Don't force tests to use must_alloc --- src/test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test.h b/src/test.h index 5942841..76038f7 100644 --- a/src/test.h +++ b/src/test.h @@ -127,7 +127,7 @@ test_main(int argc, const char **argv, struct testdef tests[]) return allok ? 0 : 1; } -static void * +void * must_alloc(testctx t, size_t size) { void *out = malloc(size);