From f7bd47f78b71211abcc97e536d9c1b1a15df4736 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Thu, 22 Oct 2009 13:04:30 +0200 Subject: [PATCH] ole32/tests: Set returned pointer to NULL in CreateInstance (Valgrind). --- dlls/ole32/tests/marshal.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/ole32/tests/marshal.c b/dlls/ole32/tests/marshal.c index af2ae6e727b..4239b55ddc3 100644 --- a/dlls/ole32/tests/marshal.c +++ b/dlls/ole32/tests/marshal.c @@ -1799,6 +1799,7 @@ static HRESULT WINAPI TestRE_IClassFactory_CreateInstance( BOOL ret = SendMessageTimeout(hwnd_app, WM_NULL, 0, 0, SMTO_BLOCK, 5000, &res); ok(ret, "Timed out sending a message to originating window during RPC call\n"); } + *ppvObj = NULL; return S_FALSE; }