Commit 6c833cec authored by Aleksey Bragin's avatar Aleksey Bragin Committed by Alexandre Julliard

atl: Remove freeing of an invalid pointer.

parent 633ee950
...@@ -454,7 +454,6 @@ static HRESULT resource_register(Registrar *This, LPCOLESTR resFileName, ...@@ -454,7 +454,6 @@ static HRESULT resource_register(Registrar *This, LPCOLESTR resFileName,
WARN("could not load resource\n"); WARN("could not load resource\n");
hres = HRESULT_FROM_WIN32(GetLastError()); hres = HRESULT_FROM_WIN32(GetLastError());
} }
HeapFree(GetProcessHeap(), 0, regstra);
}else { }else {
WARN("Could not find source\n"); WARN("Could not find source\n");
hres = HRESULT_FROM_WIN32(GetLastError()); hres = HRESULT_FROM_WIN32(GetLastError());
......
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