Commit b5c4d178 authored by Alistair Leslie-Hughes's avatar Alistair Leslie-Hughes Committed by Alexandre Julliard

msdasql: Fix use after free (Coverity).

parent c8b0e5b1
......@@ -130,8 +130,8 @@ static void test_Properties(void)
hr = IDBProperties_GetProperties(props, 1, &propidlist, &propcnt, &propset);
ok(hr == S_OK, "got 0x%08x\n", hr);
ok(propidlist.cPropertyIDs == 14, "got %d\n", propinfoset->cPropertyInfos);
ok(propset->cProperties == 14, "got %d\n", propinfoset->cPropertyInfos);
ok(propidlist.cPropertyIDs == 14, "got %d\n", propidlist.cPropertyIDs);
ok(propset->cProperties == 14, "got %d\n", propset->cProperties);
for (i = 0; i < propidlist.cPropertyIDs; i++)
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment