Commit 0533b38f authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

oleaut32/tests: Test that user memory functions are not called.

parent 61368e76
...@@ -190,11 +190,13 @@ static void check_safearray(void *buffer, LPSAFEARRAY lpsa) ...@@ -190,11 +190,13 @@ static void check_safearray(void *buffer, LPSAFEARRAY lpsa)
static void * WINAPI user_allocate(SIZE_T size) static void * WINAPI user_allocate(SIZE_T size)
{ {
ok(0, "unexpected user_allocate call\n");
return CoTaskMemAlloc(size); return CoTaskMemAlloc(size);
} }
static void WINAPI user_free(void *p) static void WINAPI user_free(void *p)
{ {
ok(0, "unexpected user_free call\n");
CoTaskMemFree(p); CoTaskMemFree(p);
} }
......
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