From: Alex Henrie alexhenrie24@gmail.com
--- dlls/ninput/main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/dlls/ninput/main.c b/dlls/ninput/main.c index 56d82b08ac5..e89e71968c7 100644 --- a/dlls/ninput/main.c +++ b/dlls/ninput/main.c @@ -21,7 +21,6 @@ #include "windef.h" #include "winbase.h" #include "wine/debug.h" -#include "wine/heap.h"
#include "interactioncontext.h"
@@ -46,7 +45,7 @@ HRESULT WINAPI CreateInteractionContext(HINTERACTIONCONTEXT *handle) if (!handle) return E_POINTER;
- if (!(context = heap_alloc(sizeof(*context)))) + if (!(context = malloc(sizeof(*context)))) return E_OUTOFMEMORY;
context->filter_pointers = TRUE; @@ -67,7 +66,7 @@ HRESULT WINAPI DestroyInteractionContext(HINTERACTIONCONTEXT handle) if (!context) return E_HANDLE;
- heap_free(context); + free(context); return S_OK; }