mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-04 21:07:44 +00:00
mscoree: Avoid using pointer after free.
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
This commit is contained in:
parent
910d58520a
commit
b883553551
|
@ -1917,7 +1917,7 @@ HRESULT create_monodata(REFCLSID clsid, LPVOID *ppObj)
|
|||
HeapFree(GetProcessHeap(), 0, filenameA);
|
||||
if (!assembly)
|
||||
{
|
||||
ERR("Cannot open assembly %s, status=%i\n", filenameA, status);
|
||||
ERR("Cannot open assembly %s, status=%i\n", debugstr_w(filename), status);
|
||||
domain_restore(prev_domain);
|
||||
goto cleanup;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue