Commit b8835535 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

mscoree: Avoid using pointer after free.

parent 910d5852
...@@ -1917,7 +1917,7 @@ HRESULT create_monodata(REFCLSID clsid, LPVOID *ppObj) ...@@ -1917,7 +1917,7 @@ HRESULT create_monodata(REFCLSID clsid, LPVOID *ppObj)
HeapFree(GetProcessHeap(), 0, filenameA); HeapFree(GetProcessHeap(), 0, filenameA);
if (!assembly) 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); domain_restore(prev_domain);
goto cleanup; goto cleanup;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment