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

Alexandre Julliard julliard at wine.codeweavers.com
Tue Jun 16 10:13:13 CDT 2015


Module: wine
Branch: master
Commit: 0533b38f70dcb30bc865941a99caa665cb6ba239
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0533b38f70dcb30bc865941a99caa665cb6ba239

Author: Nikolay Sivov <nsivov at 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);
 }
 




More information about the wine-cvs mailing list