Commit 68b1f2cd authored by Lionel Debroux's avatar Lionel Debroux Committed by Alexandre Julliard

msvcrt: Fix memory leak (found by Smatch).

parent cf443380
......@@ -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");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment