mirror of
https://github.com/reactos/reactos.git
synced 2024-07-12 23:55:07 +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
|
||||
{
|
||||
/* Otherwise, remove the flag */
|
||||
HandleEntry->Flags &= BASE_HEAP_ENTRY_FLAG_REUSABLE;
|
||||
HandleEntry->Flags &= ~BASE_HEAP_ENTRY_FLAG_REUSABLE;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -1642,7 +1642,7 @@ LocalReAlloc(HLOCAL hMem,
|
|||
else
|
||||
{
|
||||
/* Otherwise, remove the flag */
|
||||
HandleEntry->Flags &= BASE_HEAP_ENTRY_FLAG_REUSABLE;
|
||||
HandleEntry->Flags &= ~BASE_HEAP_ENTRY_FLAG_REUSABLE;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue