C/P error

svn path=/trunk/; revision=69507
This commit is contained in:
Pierre Schweitzer 2015-10-11 21:51:32 +00:00
parent 24420c2ba1
commit c4b93ac3c5

View file

@ -46,7 +46,7 @@ START_TEST(RtlAllocateHeap)
for (i = 0; i < 0x100; ++i) 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); ASSERT(Buffers[i] != NULL);
if (!((ULONG_PTR)Buffers[i] & 0x2)) if (!((ULONG_PTR)Buffers[i] & 0x2))
{ {
@ -56,7 +56,7 @@ START_TEST(RtlAllocateHeap)
for (i = 0; i < 0x100; ++i) for (i = 0; i < 0x100; ++i)
{ {
RtlFreeHeap(RtlGetProcessHeap(), 0, Buffers[i]); RtlFreeHeap(hHeap, 0, Buffers[i]);
} }
RtlDestroyHeap(hHeap); RtlDestroyHeap(hHeap);