Commit dfa0c9d2 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

wmvcore: Use CRT allocation functions.

parent 726c5df5
......@@ -27,7 +27,6 @@
#include "wmsdk.h"
#include "wine/debug.h"
#include "wine/heap.h"
WINE_DEFAULT_DEBUG_CHANNEL(wmvcore);
......@@ -146,7 +145,7 @@ static ULONG WINAPI WMProfileManager_Release(IWMProfileManager2 *iface)
TRACE("(%p) ref=%ld\n", This, ref);
if(!ref)
heap_free(This);
free(This);
return ref;
}
......@@ -227,7 +226,7 @@ HRESULT WINAPI WMCreateProfileManager(IWMProfileManager **ret)
TRACE("(%p)\n", ret);
profile_mgr = heap_alloc(sizeof(*profile_mgr));
profile_mgr = malloc(sizeof(*profile_mgr));
if(!profile_mgr)
return E_OUTOFMEMORY;
......
......@@ -20,7 +20,6 @@
#include "wmsdkidl.h"
#include "wine/debug.h"
#include "wine/heap.h"
WINE_DEFAULT_DEBUG_CHANNEL(wmvcore);
......@@ -82,7 +81,7 @@ static ULONG WINAPI WMWriter_Release(IWMWriter *iface)
TRACE("(%p) ref=%ld\n", This, ref);
if(!ref)
heap_free(This);
free(This);
return ref;
}
......@@ -359,7 +358,7 @@ HRESULT WINAPI WMCreateWriter(IUnknown *reserved, IWMWriter **writer)
TRACE("(%p %p)\n", reserved, writer);
ret = heap_alloc(sizeof(*ret));
ret = malloc(sizeof(*ret));
if(!ret)
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