oledb32: Free memory on error exit (Coverity).

This commit is contained in:
Marcus Meissner 2015-06-13 09:21:06 +02:00 committed by Alexandre Julliard
parent a2869de4d4
commit 99549e1e2e

View file

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