Author: pschweitzer Date: Sun Oct 11 21:51:32 2015 New Revision: 69507
URL: http://svn.reactos.org/svn/reactos?rev=69507&view=rev Log: [WHOOPS] C/P error
Modified: trunk/rostests/apitests/ntdll/RtlAllocateHeap.c
Modified: trunk/rostests/apitests/ntdll/RtlAllocateHeap.c URL: http://svn.reactos.org/svn/reactos/trunk/rostests/apitests/ntdll/RtlAllocate... ============================================================================== --- trunk/rostests/apitests/ntdll/RtlAllocateHeap.c [iso-8859-1] (original) +++ trunk/rostests/apitests/ntdll/RtlAllocateHeap.c [iso-8859-1] Sun Oct 11 21:51:32 2015 @@ -46,7 +46,7 @@
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 @@
for (i = 0; i < 0x100; ++i) { - RtlFreeHeap(RtlGetProcessHeap(), 0, Buffers[i]); + RtlFreeHeap(hHeap, 0, Buffers[i]); }
RtlDestroyHeap(hHeap);