Commit ea58ea76 authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

lz32/tests: Replace malloc() with HeapAlloc().

parent d7c5f1a9
......@@ -881,10 +881,10 @@ static void test_LZOpenFileW(void)
START_TEST(lzexpand_main)
{
buf = malloc(uncompressed_data_size * 2);
buf = HeapAlloc(GetProcessHeap(), 0, uncompressed_data_size * 2);
test_LZOpenFileA();
test_LZOpenFileW();
test_LZRead();
test_LZCopy();
free(buf);
HeapFree(GetProcessHeap(), 0, buf);
}
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