From c3644e01e94fb323fb074f36fd83429b2ed9a5a4 Mon Sep 17 00:00:00 2001 From: Aleksey Bragin Date: Tue, 6 May 2008 12:51:08 +0000 Subject: [PATCH] atl: Remove freeing of an invalid pointer. http://www.winehq.org/pipermail/wine-patches/2008-May/054603.html svn path=/trunk/; revision=33320 --- reactos/dll/win32/atl/registrar.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/reactos/dll/win32/atl/registrar.c b/reactos/dll/win32/atl/registrar.c index 9c0c73b6d85..13e82241539 100644 --- a/reactos/dll/win32/atl/registrar.c +++ b/reactos/dll/win32/atl/registrar.c @@ -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());