oleaut32: Fix a leak in the tests.

Found by Valgrind.
This commit is contained in:
Huw Davies 2009-12-15 15:17:22 +00:00 committed by Alexandre Julliard
parent 0535a2d39c
commit 08760936e4
1 changed files with 2 additions and 0 deletions

View File

@ -5460,6 +5460,8 @@ static void test_BstrCopy(void)
bstr = Get(V_BSTR(&vt2));
ok (bstr->dwLen == 3, "Expected 3, got %d\n", bstr->dwLen);
ok (!lstrcmpA((LPCSTR)bstr->szString, szTestTruncA), "String different\n");
VariantClear(&vt2);
VariantClear(&vt1);
}
}