Commit daf1ed48 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

msvcrt/tests: Remove redundant NULL check before free(). Found by Smatch.

parent b15186d4
......@@ -355,8 +355,7 @@ START_TEST(heap)
mem = realloc(NULL, 0);
ok(mem != NULL, "memory not (re)allocated for size 0\n");
if (mem)
free(mem);
free(mem);
test_aligned();
}
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