ole32/tests: Set returned pointer to NULL in CreateInstance (Valgrind).

This commit is contained in:
Alexandre Julliard 2009-10-22 13:04:30 +02:00
parent d527ca3382
commit f7bd47f78b
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}