lz32/tests: Replace malloc() with HeapAlloc().
Francois Gouget
fgouget at free.fr
Wed May 13 03:32:29 CDT 2009
---
dlls/lz32/tests/lzexpand_main.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/lz32/tests/lzexpand_main.c b/dlls/lz32/tests/lzexpand_main.c
index 91fd687..3e46fb0 100644
--- a/dlls/lz32/tests/lzexpand_main.c
+++ b/dlls/lz32/tests/lzexpand_main.c
@@ -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);
}
--
1.6.2.1
More information about the wine-patches
mailing list