Commit b3c38d3d authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

msvcrtd/tests: Fix a memory leak (Valgrind).

parent da91da46
...@@ -60,6 +60,7 @@ static void test_new(void) ...@@ -60,6 +60,7 @@ static void test_new(void)
mem = pMSVCRTD_operator_new_dbg(42, _NORMAL_BLOCK, __FILE__, __LINE__); mem = pMSVCRTD_operator_new_dbg(42, _NORMAL_BLOCK, __FILE__, __LINE__);
ok(mem != NULL, "memory not allocated\n"); ok(mem != NULL, "memory not allocated\n");
HeapFree(GetProcessHeap(), 0, mem);
} }
/**********************************************************************/ /**********************************************************************/
......
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