Module: wine Branch: master Commit: 99549e1e2e1bfa52adb667efc0b8d64048690237 URL: http://source.winehq.org/git/wine.git/?a=commit;h=99549e1e2e1bfa52adb667efc0... Author: Marcus Meissner <marcus(a)jet.franken.de> Date: Sat Jun 13 09:21:06 2015 +0200 oledb32: Free memory on error exit (Coverity). --- dlls/oledb32/datainit.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/oledb32/datainit.c b/dlls/oledb32/datainit.c index 3c5293a..3a76e0b 100644 --- a/dlls/oledb32/datainit.c +++ b/dlls/oledb32/datainit.c @@ -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; }