mirror of
https://github.com/reactos/reactos.git
synced 2024-08-07 19:58:21 +00:00
[KERNEL32]: Fix a missing "~" in GlobalReAlloc and LocalReAlloc, which caused a flag never to be removed.
svn path=/trunk/; revision=54292
This commit is contained in:
parent
d30964b0fb
commit
888f1950e9
|
@ -881,7 +881,7 @@ GlobalReAlloc(HGLOBAL hMem,
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Otherwise, remove the flag */
|
/* Otherwise, remove the flag */
|
||||||
HandleEntry->Flags &= BASE_HEAP_ENTRY_FLAG_REUSABLE;
|
HandleEntry->Flags &= ~BASE_HEAP_ENTRY_FLAG_REUSABLE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
@ -1642,7 +1642,7 @@ LocalReAlloc(HLOCAL hMem,
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
/* Otherwise, remove the flag */
|
/* Otherwise, remove the flag */
|
||||||
HandleEntry->Flags &= BASE_HEAP_ENTRY_FLAG_REUSABLE;
|
HandleEntry->Flags &= ~BASE_HEAP_ENTRY_FLAG_REUSABLE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue