oledb32: Fix a memory leak (Coverity).

This commit is contained in:
Zhiyi Zhang 2023-11-25 23:44:21 +08:00 committed by Alexandre Julliard
parent 40305ee11e
commit 6aef5f8916

View file

@ -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;