Commit 719a0285 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

janitorial: Remove two redundant checks for NULL.

parent 22ecd7aa
......@@ -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;
}
......
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