mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-21 08:14:10 +00:00
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 a new issue