[PATCH 1/5] shell32: Use SHFree for memory allocated with SHAlloc
Detlef Riekenberg
wine.dev at web.de
Sun Jan 15 17:06:12 CST 2012
---
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;
--
1.7.5.4
More information about the wine-patches
mailing list