msvcrt: Fix memory leak (found by Smatch).

This commit is contained in:
Lionel Debroux 2007-11-21 17:34:10 +01:00 committed by Alexandre Julliard
parent cf443380ba
commit 68b1f2cde2

View file

@ -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");