Commit c71b82f3 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

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

parent 5893f322
......@@ -3854,9 +3854,7 @@ static ULONG WINAPI ICreateTypeLib2_fnRelease(ICreateTypeLib2 *iface)
}
}
if(typeinfo->dual)
HeapFree(GetProcessHeap(), 0, typeinfo->dual);
HeapFree(GetProcessHeap(), 0, typeinfo->dual);
HeapFree(GetProcessHeap(), 0, typeinfo);
}
......
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