janitorial: Remove two redundant checks for NULL.

This commit is contained in:
Michael Stefaniuc 2007-03-07 22:16:48 +01:00 committed by Alexandre Julliard
parent 22ecd7aa67
commit 719a02856d
2 changed files with 2 additions and 3 deletions

View file

@ -913,8 +913,7 @@ void WINAPI ILGlobalFree( LPITEMIDLIST pidl)
{
TRACE("%p\n", pidl);
if (pidl)
Free(pidl);
Free(pidl);
}
/*************************************************************************

View file

@ -1507,7 +1507,7 @@ error:
FIXME("(%p) Something's still holding the front buffer\n",This);
}
}
if(object) HeapFree(GetProcessHeap(), 0, object);
HeapFree(GetProcessHeap(), 0, object);
return hr;
}