mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 05:40:59 +00:00
janitorial: Remove two redundant checks for NULL.
This commit is contained in:
parent
22ecd7aa67
commit
719a02856d
|
@ -913,8 +913,7 @@ void WINAPI ILGlobalFree( LPITEMIDLIST pidl)
|
|||
{
|
||||
TRACE("%p\n", pidl);
|
||||
|
||||
if (pidl)
|
||||
Free(pidl);
|
||||
Free(pidl);
|
||||
}
|
||||
|
||||
/*************************************************************************
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue