From c4b93ac3c5ae471777adf2fe8dfcb7f0ab04644b Mon Sep 17 00:00:00 2001 From: Pierre Schweitzer Date: Sun, 11 Oct 2015 21:51:32 +0000 Subject: [PATCH] [WHOOPS] C/P error svn path=/trunk/; revision=69507 --- rostests/apitests/ntdll/RtlAllocateHeap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rostests/apitests/ntdll/RtlAllocateHeap.c b/rostests/apitests/ntdll/RtlAllocateHeap.c index 7202a7c3517..b945d70ab1b 100644 --- a/rostests/apitests/ntdll/RtlAllocateHeap.c +++ b/rostests/apitests/ntdll/RtlAllocateHeap.c @@ -46,7 +46,7 @@ START_TEST(RtlAllocateHeap) for (i = 0; i < 0x100; ++i) { - Buffers[i] = RtlAllocateHeap(RtlGetProcessHeap(), 0, (i % 16 ) + 1); + Buffers[i] = RtlAllocateHeap(hHeap, 0, (i % 16 ) + 1); ASSERT(Buffers[i] != NULL); if (!((ULONG_PTR)Buffers[i] & 0x2)) { @@ -56,7 +56,7 @@ START_TEST(RtlAllocateHeap) for (i = 0; i < 0x100; ++i) { - RtlFreeHeap(RtlGetProcessHeap(), 0, Buffers[i]); + RtlFreeHeap(hHeap, 0, Buffers[i]); } RtlDestroyHeap(hHeap);