mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 12:54:13 +00:00
oledb32: Fix error info cleanup dispparams rgvarg index.
This commit is contained in:
parent
369e0cfae6
commit
e7fbdd1eb2
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ static ULONG WINAPI errorrecords_Release(IErrorInfo* iface)
|
|||
IUnknown_Release(This->records[i].custom_error);
|
||||
|
||||
for (j = 0; j < dispparams->cArgs && dispparams->rgvarg; j++)
|
||||
VariantClear(&dispparams->rgvarg[i]);
|
||||
VariantClear(&dispparams->rgvarg[j]);
|
||||
CoTaskMemFree(dispparams->rgvarg);
|
||||
CoTaskMemFree(dispparams->rgdispidNamedArgs);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue