oledb32: Free memory on error exit (Coverity).
This commit is contained in:
parent
a2869de4d4
commit
99549e1e2e
|
@ -520,6 +520,8 @@ static HRESULT get_dbpropset_from_proplist(struct dbprops *props, DBPROPSET **pr
|
|||
if (FAILED(hr))
|
||||
{
|
||||
ERR("failed to init property %s value as type %d\n", debugstr_w(pair->name), descr->type);
|
||||
free_dbpropset(1, *propset);
|
||||
*propset = NULL;
|
||||
return hr;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue