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

This commit is contained in:
Francois Gouget 2009-05-13 10:32:29 +02:00 committed by Alexandre Julliard
parent d7c5f1a90b
commit ea58ea76e2
1 changed files with 2 additions and 2 deletions

View File

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