Module: wine Branch: master Commit: 6aef5f8916d53791c1cae4a8671273f90a161842 URL: https://gitlab.winehq.org/wine/wine/-/commit/6aef5f8916d53791c1cae4a8671273f...
Author: Zhiyi Zhang zzhang@codeweavers.com Date: Sat Nov 25 23:44:21 2023 +0800
oledb32: Fix a memory leak (Coverity).
---
dlls/oledb32/datainit.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/oledb32/datainit.c b/dlls/oledb32/datainit.c index b185ff4a128..38ed5ce0e53 100644 --- a/dlls/oledb32/datainit.c +++ b/dlls/oledb32/datainit.c @@ -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;