msi: Fix a memory leak.

This commit is contained in:
Mike McCormack 2006-10-17 16:11:42 +09:00 committed by Alexandre Julliard
parent fbddd9060f
commit 4047cc7009
1 changed files with 1 additions and 0 deletions

View File

@ -596,6 +596,7 @@ UINT MSI_InstallPackage( MSIPACKAGE *package, LPCWSTR szPackagePath,
if (!check)
MSI_SetPropertyW(package, cszSOURCEDIR, path);
msi_free( package->PackagePath );
package->PackagePath = path;
msi_free(check);