atl: Remove freeing of an invalid pointer.
This commit is contained in:
parent
633ee950a1
commit
6c833cecef
|
@ -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());
|
||||||
|
|
Loading…
Reference in New Issue