Skip to content

Commit ebf0734

Browse files
committed
cppcheck
1 parent 1e914c1 commit ebf0734

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/src/tph_poisson_vec_test.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ static void *vec_test_malloc(ptrdiff_t size, void *ctx)
2020
if ((size == 0) | (a_ctx->fail != 0)) { return NULL; }
2121
void *ptr = malloc((size_t)(size + a_ctx->align_offset));
2222

23+
/* cppcheck-suppress memleak */
2324
return (void *)((intptr_t)ptr + a_ctx->align_offset);
2425
}
2526

0 commit comments

Comments
 (0)