Nikolay Sivov : oleaut32/tests: Test that user memory functions are not called.
Module: wine Branch: master Commit: 0533b38f70dcb30bc865941a99caa665cb6ba239 URL: http://source.winehq.org/git/wine.git/?a=commit;h=0533b38f70dcb30bc865941a99... Author: Nikolay Sivov <nsivov(a)codeweavers.com> Date: Tue Jun 16 09:29:00 2015 +0300 oleaut32/tests: Test that user memory functions are not called. --- dlls/oleaut32/tests/usrmarshal.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/oleaut32/tests/usrmarshal.c b/dlls/oleaut32/tests/usrmarshal.c index b1fe49e..88a0731 100644 --- a/dlls/oleaut32/tests/usrmarshal.c +++ b/dlls/oleaut32/tests/usrmarshal.c @@ -190,11 +190,13 @@ static void check_safearray(void *buffer, LPSAFEARRAY lpsa) static void * WINAPI user_allocate(SIZE_T size) { + ok(0, "unexpected user_allocate call\n"); return CoTaskMemAlloc(size); } static void WINAPI user_free(void *p) { + ok(0, "unexpected user_free call\n"); CoTaskMemFree(p); }
participants (1)
-
Alexandre Julliard