mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
Do not bugcheck on ExFreePool( 0 )
svn path=/trunk/; revision=2262
This commit is contained in:
parent
decca5781a
commit
3c655e1278
1 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
/* $Id: npool.c,v 1.46 2001/05/05 19:13:10 chorns Exp $
|
||||
/* $Id: npool.c,v 1.47 2001/09/29 19:40:49 phreak Exp $
|
||||
*
|
||||
* COPYRIGHT: See COPYING in the top level directory
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -823,7 +823,8 @@ VOID STDCALL ExFreePool (PVOID block)
|
|||
BLOCK_HDR* blk=address_to_block(block);
|
||||
KIRQL oldIrql;
|
||||
|
||||
assert(block);
|
||||
if( !block )
|
||||
return;
|
||||
|
||||
DPRINT("freeing block %x\n",blk);
|
||||
|
||||
|
|
Loading…
Reference in a new issue