msxml3: Use existing helpers for heap allocations.
diff --git a/dlls/msxml3/xmldoc.c b/dlls/msxml3/xmldoc.c
index b77fd00..d1a010f 100644
--- a/dlls/msxml3/xmldoc.c
+++ b/dlls/msxml3/xmldoc.c
@@ -117,7 +117,7 @@
{
xmlFreeDoc(This->xmldoc);
if (This->stream) IStream_Release(This->stream);
- HeapFree(GetProcessHeap(), 0, This);
+ heap_free(This);
}
return ref;
@@ -698,7 +698,7 @@
TRACE("(%p,%p)\n", pUnkOuter, ppObj);
- doc = HeapAlloc(GetProcessHeap(), 0, sizeof (*doc));
+ doc = heap_alloc(sizeof (*doc));
if(!doc)
return E_OUTOFMEMORY;