mirror of
https://github.com/reactos/reactos.git
synced 2025-06-05 17:30:32 +00:00
[WHOOPS]
C/P error svn path=/trunk/; revision=69507
This commit is contained in:
parent
24420c2ba1
commit
c4b93ac3c5
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||||
|
|
Loading…
Reference in a new issue