Commit e7fbdd1e authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

oledb32: Fix error info cleanup dispparams rgvarg index.

parent 369e0cfa
......@@ -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);
}
......
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