mirror of
https://github.com/reactos/reactos.git
synced 2025-02-22 16:36:33 +00:00
[FTFD] Ignore NULL objects in free() wrapper
svn path=/trunk/; revision=75613
This commit is contained in:
parent
45720ed145
commit
369ad20c7b
1 changed files with 4 additions and 1 deletions
|
@ -79,7 +79,10 @@ realloc(void *Object, size_t Size)
|
|||
void
|
||||
free(void *Object)
|
||||
{
|
||||
if (Object != NULL)
|
||||
{
|
||||
EngFreeMem((size_t *)Object - 1);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in a new issue