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
1 changed files with 1 additions and 1 deletions

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"); 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;