Detlef Riekenberg : shell32: Use SHFree for memory allocated with SHAlloc.

Alexandre Julliard julliard at winehq.org
Mon Jan 16 13:01:32 CST 2012


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

Author: Detlef Riekenberg <wine.dev at web.de>
Date:   Mon Jan 16 00:06:12 2012 +0100

shell32: Use SHFree for memory allocated with SHAlloc.

---

 dlls/shell32/assoc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/shell32/assoc.c b/dlls/shell32/assoc.c
index ce3434c..0e6b6ba 100644
--- a/dlls/shell32/assoc.c
+++ b/dlls/shell32/assoc.c
@@ -131,7 +131,7 @@ static ULONG WINAPI IQueryAssociations_fnRelease(IQueryAssociations *iface)
     TRACE("Destroying IQueryAssociations (%p)\n", This);
     RegCloseKey(This->hkeySource);
     RegCloseKey(This->hkeyProgID);
-    HeapFree(GetProcessHeap(), 0, This);
+    SHFree(This);
   }
 
   return refCount;




More information about the wine-cvs mailing list