msi: Fix a memory leak.

This commit is contained in:
Hans Leidekker 2010-07-23 09:41:23 +02:00 committed by Alexandre Julliard
parent cfc0f97d93
commit bb5ab26720
1 changed files with 3 additions and 0 deletions

View File

@ -958,8 +958,11 @@ 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;
MSI_RecordGetStringW(row, 3, path, &sz);