oleaut32: Remove superfluous NULL check before HeapFree (Smatch).

This commit is contained in:
Michael Stefaniuc 2010-02-28 21:48:09 +01:00 committed by Alexandre Julliard
parent f97fbce8f4
commit 400fb55219

View File

@ -3141,8 +3141,7 @@ static void WINAPI ITypeInfo2_fnReleaseTypeAttr(
{ {
TRACE("(%p,%p)\n", iface, pTypeAttr); TRACE("(%p,%p)\n", iface, pTypeAttr);
if(pTypeAttr) HeapFree(GetProcessHeap(), 0, pTypeAttr);
HeapFree(GetProcessHeap(), 0, pTypeAttr);
} }
/****************************************************************************** /******************************************************************************