mirror of
git://source.winehq.org/git/wine.git
synced 2024-11-05 18:01:34 +00:00
oledb32: Fix a memory leak (Coverity).
This commit is contained in:
parent
40305ee11e
commit
6aef5f8916
1 changed files with 1 additions and 0 deletions
|
@ -577,6 +577,7 @@ 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);
|
||||
SysFreeString(provider_string);
|
||||
free_dbpropset(1, *propset);
|
||||
*propset = NULL;
|
||||
return hr;
|
||||
|
|
Loading…
Reference in a new issue