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:
Michael Stefaniuc 2021-03-14 22:54:35 +01:00 committed by Alexandre Julliard
parent 5cc6035284
commit 0edd90daaf

View file

@ -1809,7 +1809,7 @@ static MonoAssembly* CDECL mono_assembly_preload_hook_fn(MonoAssemblyName *aname
TRACE("skipping Windows GAC search due to override setting\n");
done:
if (cultureW) HeapFree(GetProcessHeap(), 0, cultureW);
HeapFree(GetProcessHeap(), 0, cultureW);
mono_free(stringname);
return result;