mscoree: Remove redundant NULL check before HeapFree().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Esme Povirk <esme@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
5cc6035284
commit
0edd90daaf
|
@ -1809,7 +1809,7 @@ static MonoAssembly* CDECL mono_assembly_preload_hook_fn(MonoAssemblyName *aname
|
||||||
TRACE("skipping Windows GAC search due to override setting\n");
|
TRACE("skipping Windows GAC search due to override setting\n");
|
||||||
|
|
||||||
done:
|
done:
|
||||||
if (cultureW) HeapFree(GetProcessHeap(), 0, cultureW);
|
HeapFree(GetProcessHeap(), 0, cultureW);
|
||||||
mono_free(stringname);
|
mono_free(stringname);
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
|
Loading…
Reference in New Issue