From bb5ab2672039a7fc938080dcecee1a22298922aa Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Fri, 23 Jul 2010 09:41:23 +0200 Subject: [PATCH] msi: Fix a memory leak. --- dlls/msi/appsearch.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dlls/msi/appsearch.c b/dlls/msi/appsearch.c index 34130b62a74..a516bdad1c8 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;