Commit 400fb552 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

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

parent f97fbce8
...@@ -3141,8 +3141,7 @@ static void WINAPI ITypeInfo2_fnReleaseTypeAttr( ...@@ -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);
} }
/****************************************************************************** /******************************************************************************
......
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