Commit 5908cda9 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

scrrun: Use heap helpers for dictionary.

parent a5750a1f
......@@ -95,9 +95,7 @@ static ULONG WINAPI dictionary_Release(IDictionary *iface)
ref = InterlockedDecrement(&This->ref);
if(ref == 0)
{
HeapFree(GetProcessHeap(), 0, This);
}
heap_free(This);
return ref;
}
......@@ -333,7 +331,7 @@ HRESULT WINAPI Dictionary_CreateInstance(IClassFactory *factory,IUnknown *outer,
*obj = NULL;
This = HeapAlloc(GetProcessHeap(), 0, sizeof(*This));
This = heap_alloc(sizeof(*This));
if(!This) return E_OUTOFMEMORY;
This->IDictionary_iface.lpVtbl = &dictionary_vtbl;
......
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