Commit fdeaf7c0 authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

shell32: Use SHFree for memory allocated with SHAlloc.

parent b71f83ba
...@@ -131,7 +131,7 @@ static ULONG WINAPI IQueryAssociations_fnRelease(IQueryAssociations *iface) ...@@ -131,7 +131,7 @@ static ULONG WINAPI IQueryAssociations_fnRelease(IQueryAssociations *iface)
TRACE("Destroying IQueryAssociations (%p)\n", This); TRACE("Destroying IQueryAssociations (%p)\n", This);
RegCloseKey(This->hkeySource); RegCloseKey(This->hkeySource);
RegCloseKey(This->hkeyProgID); RegCloseKey(This->hkeyProgID);
HeapFree(GetProcessHeap(), 0, This); SHFree(This);
} }
return refCount; return refCount;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment