oleaut32/tests: Test return of SafeArrayAllocData (Coverity).

This commit is contained in:
Marcus Meissner 2013-07-02 17:08:55 +02:00 committed by Alexandre Julliard
parent 0f86ae37c6
commit 9a0b4345ec
1 changed files with 2 additions and 1 deletions

View File

@ -324,7 +324,8 @@ static void test_safearray(void)
a->rgsabound[1].cElements = 4;
a->rgsabound[1].lLbound = 1;
a->cbElements = 2;
SafeArrayAllocData(a);
hres = SafeArrayAllocData(a);
ok(hres == S_OK, "SafeArrayAllocData failed with hres %x\n", hres);
indices[0] = 4;
indices[1] = 2;