oleaut32: Remove superfluous NULL check before HeapFree (Smatch).
This commit is contained in:
parent
5893f3227c
commit
c71b82f3c1
|
@ -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);
|
HeapFree(GetProcessHeap(), 0, typeinfo);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue