Commit 5574b64e authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

krnl386.exe16: pSeg might be NULL (Coverity).

parent 8e5c79e4
......@@ -480,7 +480,7 @@ LPVOID DOSMEM_AllocBlock(UINT size, UINT16* pseg)
curr = DOSMEM_root_block;
if (!(psp = DOSVM_psp)) psp = MCB_PSP_DOS;
*pseg = 0;
if (pseg) *pseg = 0;
TRACE( "(%04xh)\n", size );
......
......@@ -362,7 +362,7 @@ HGLOBAL16 WINAPI GlobalReAlloc16(
newptr = 0;
else
{
newptr = DOSMEM_AllocBlock( size, 0 );
newptr = DOSMEM_AllocBlock( size, NULL );
if (newptr)
{
memcpy( newptr, ptr, oldsize );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment