Aleksey Bragin : atl: Remove freeing of an invalid pointer.

Alexandre Julliard julliard at winehq.org
Wed May 7 07:03:57 CDT 2008


Module: wine
Branch: master
Commit: 6c833cecef635dfd44ee5cad12995c6c9fc752cc
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=6c833cecef635dfd44ee5cad12995c6c9fc752cc

Author: Aleksey Bragin <aleksey at reactos.org>
Date:   Tue May  6 22:41:01 2008 +0400

atl: Remove freeing of an invalid pointer.

---

 dlls/atl/registrar.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/dlls/atl/registrar.c b/dlls/atl/registrar.c
index 9c0c73b..2b921c5 100644
--- a/dlls/atl/registrar.c
+++ b/dlls/atl/registrar.c
@@ -454,7 +454,6 @@ static HRESULT resource_register(Registrar *This, LPCOLESTR resFileName,
                 WARN("could not load resource\n");
                 hres = HRESULT_FROM_WIN32(GetLastError());
             }
-            HeapFree(GetProcessHeap(), 0, regstra);
         }else {
             WARN("Could not find source\n");
             hres = HRESULT_FROM_WIN32(GetLastError());




More information about the wine-cvs mailing list