Commit 9f3a275d authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

inseng: Use CRT allocation functions.

parent f10be2e8
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#include "inseng.h" #include "inseng.h"
#include "wine/debug.h" #include "wine/debug.h"
#include "wine/heap.h"
WINE_DEFAULT_DEBUG_CHANNEL(inseng); WINE_DEFAULT_DEBUG_CHANNEL(inseng);
...@@ -87,7 +86,7 @@ static ULONG WINAPI InstallEngine_Release(IInstallEngine2 *iface) ...@@ -87,7 +86,7 @@ static ULONG WINAPI InstallEngine_Release(IInstallEngine2 *iface)
TRACE("(%p) ref=%ld\n", This, ref); TRACE("(%p) ref=%ld\n", This, ref);
if(!ref) if(!ref)
heap_free(This); free(This);
return ref; return ref;
} }
...@@ -334,7 +333,7 @@ static HRESULT WINAPI InstallEngineCF_CreateInstance(IClassFactory *iface, IUnkn ...@@ -334,7 +333,7 @@ static HRESULT WINAPI InstallEngineCF_CreateInstance(IClassFactory *iface, IUnkn
TRACE("(%p %s %p)\n", outer, debugstr_guid(riid), ppv); TRACE("(%p %s %p)\n", outer, debugstr_guid(riid), ppv);
engine = heap_alloc(sizeof(*engine)); engine = malloc(sizeof(*engine));
if(!engine) if(!engine)
return E_OUTOFMEMORY; return E_OUTOFMEMORY;
......
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