Commit 6aef5f89 authored by Zhiyi Zhang's avatar Zhiyi Zhang Committed by Alexandre Julliard

oledb32: Fix a memory leak (Coverity).

parent 40305ee1
...@@ -577,6 +577,7 @@ static HRESULT get_dbpropset_from_proplist(struct dbprops *props, DBPROPSET **pr ...@@ -577,6 +577,7 @@ static HRESULT get_dbpropset_from_proplist(struct dbprops *props, DBPROPSET **pr
if (FAILED(hr)) if (FAILED(hr))
{ {
ERR("failed to init property %s value as type %d\n", debugstr_w(pair->name), descr->type); ERR("failed to init property %s value as type %d\n", debugstr_w(pair->name), descr->type);
SysFreeString(provider_string);
free_dbpropset(1, *propset); free_dbpropset(1, *propset);
*propset = NULL; *propset = NULL;
return hr; return hr;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment