Module: wine Branch: master Commit: bb5ab2672039a7fc938080dcecee1a22298922aa URL: http://source.winehq.org/git/wine.git/?a=commit;h=bb5ab2672039a7fc938080dcec...
Author: Hans Leidekker hans@codeweavers.com Date: Fri Jul 23 09:41:23 2010 +0200
msi: Fix a memory leak.
---
dlls/msi/appsearch.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/dlls/msi/appsearch.c b/dlls/msi/appsearch.c index 34130b6..a516bda 100644 --- a/dlls/msi/appsearch.c +++ b/dlls/msi/appsearch.c @@ -958,7 +958,10 @@ static UINT ACTION_AppSearchDr(MSIPACKAGE *package, LPWSTR *appValue, MSISIGNATU rc = ACTION_AppSearchSigName(package, parentName, &parentSig, &parent); ACTION_FreeSignature(&parentSig); if (!parent) + { + msiobj_release(&row->hdr); return ERROR_SUCCESS; + } }
sz = MAX_PATH;