mscoree: Remove a redundant NULL check before heap_free().

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Michael Stefaniuc 2019-04-29 21:13:20 +02:00 committed by Alexandre Julliard
parent 70996f49e3
commit 5bd1b2652c
1 changed files with 1 additions and 2 deletions

View File

@ -1707,8 +1707,7 @@ static BOOL try_create_registration_free_com(REFIID clsid, WCHAR *classname, UIN
ret = TRUE; ret = TRUE;
end: end:
if (assembly_info) heap_free(assembly_info);
heap_free(assembly_info);
if (guid_info.hActCtx) if (guid_info.hActCtx)
ReleaseActCtx(guid_info.hActCtx); ReleaseActCtx(guid_info.hActCtx);