Skip to content

Commit d628ea3

Browse files
committed
Merge pull request #4 from chris-heijdens/master
removed return statement inside of test_free which returns void
2 parents d948d88 + d316425 commit d628ea3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test-malloc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ void test_free(void* p) {
4141
test_assert(p != NULL, "attempting to free NULL");
4242

4343
// TODO: track malloc/free
44-
return free(p);
44+
free(p);
4545
}
4646

4747
void test_malloc_fail_after(size_t count) {

0 commit comments

Comments
 (0)