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:
Aleksey Bragin 2008-05-06 12:51:08 +00:00
parent 19636d8609
commit c3644e01e9

View file

@ -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());