mirror of
https://github.com/reactos/reactos.git
synced 2024-07-30 16:18:43 +00:00
atl: Remove freeing of an invalid pointer.
http://www.winehq.org/pipermail/wine-patches/2008-May/054603.html svn path=/trunk/; revision=33320
This commit is contained in:
parent
19636d8609
commit
c3644e01e9
|
@ -454,7 +454,8 @@ static HRESULT resource_register(Registrar *This, LPCOLESTR resFileName,
|
|||
WARN("could not load resource\n");
|
||||
hres = HRESULT_FROM_WIN32(GetLastError());
|
||||
}
|
||||
HeapFree(GetProcessHeap(), 0, regstra);
|
||||
// Sent to wine-patches http://www.winehq.org/pipermail/wine-patches/2008-May/054603.html
|
||||
//HeapFree(GetProcessHeap(), 0, regstra);
|
||||
}else {
|
||||
WARN("Could not find source\n");
|
||||
hres = HRESULT_FROM_WIN32(GetLastError());
|
||||
|
|
Loading…
Reference in a new issue