mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 06:33:07 +00:00
[WIN32K]
Allow passing NULL to EngFreeMem, like on Windows. Fixes mode switching with cirrus driver on qemu. CORE-6335 #resolve svn path=/trunk/; revision=57325
This commit is contained in:
parent
fa8ab28a6d
commit
903c512783
1 changed files with 5 additions and 1 deletions
|
@ -43,9 +43,13 @@ EngAllocMem(
|
|||
VOID
|
||||
APIENTRY
|
||||
EngFreeMem(PVOID pvBaseAddress)
|
||||
{
|
||||
/* Windows allows to pass NULL */
|
||||
if (pvBaseAddress)
|
||||
{
|
||||
ExFreePool(pvBaseAddress);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* @implemented
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue