Module: wine Branch: master Commit: fdeaf7c0b4fc5b28d1b76e650faee63848a40d69 URL: http://source.winehq.org/git/wine.git/?a=commit;h=fdeaf7c0b4fc5b28d1b76e650f...
Author: Detlef Riekenberg wine.dev@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;