msi: Fix a memory leak.
This commit is contained in:
parent
fbddd9060f
commit
4047cc7009
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue