mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 12:21:00 +00:00
mscoree: Remove superfluous NULL pointer checks before free (Smatch).
This commit is contained in:
parent
51f77f4983
commit
bf5e5a981e
|
@ -609,14 +609,10 @@ static HRESULT WINAPI CLRRuntimeHost_ExecuteInDefaultAppDomain(ICLRRuntimeHost*
|
|||
}
|
||||
|
||||
cleanup:
|
||||
if(filenameA)
|
||||
HeapFree(GetProcessHeap(), 0, filenameA);
|
||||
if(classA)
|
||||
HeapFree(GetProcessHeap(), 0, classA);
|
||||
if(argsA)
|
||||
HeapFree(GetProcessHeap(), 0, argsA);
|
||||
if(methodA)
|
||||
HeapFree(GetProcessHeap(), 0, methodA);
|
||||
HeapFree(GetProcessHeap(), 0, filenameA);
|
||||
HeapFree(GetProcessHeap(), 0, classA);
|
||||
HeapFree(GetProcessHeap(), 0, argsA);
|
||||
HeapFree(GetProcessHeap(), 0, methodA);
|
||||
|
||||
return hr;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue