msvcrt: Fix memory leak (found by Smatch).
This commit is contained in:
parent
cf443380ba
commit
68b1f2cde2
|
@ -342,6 +342,7 @@ START_TEST(heap)
|
|||
|
||||
mem = malloc(0);
|
||||
ok(mem != NULL, "memory not allocated for size 0\n");
|
||||
free(mem);
|
||||
|
||||
mem = realloc(NULL, 10);
|
||||
ok(mem != NULL, "memory not allocated\n");
|
||||
|
|
Loading…
Reference in New Issue