msi: Remove the temp files after the storage files are closed.
This commit is contained in:
parent
2e1736d0eb
commit
b79fde445e
|
@ -159,8 +159,6 @@ static void free_package_structures( MSIPACKAGE *package )
|
|||
|
||||
TRACE("Freeing package action data\n");
|
||||
|
||||
remove_tracked_tempfiles(package);
|
||||
|
||||
LIST_FOR_EACH_SAFE( item, cursor, &package->features )
|
||||
{
|
||||
MSIFEATURE *feature = LIST_ENTRY( item, MSIFEATURE, entry );
|
||||
|
@ -339,6 +337,8 @@ static void free_package_structures( MSIPACKAGE *package )
|
|||
msi_free( package->LastAction );
|
||||
msi_free( package->langids );
|
||||
|
||||
remove_tracked_tempfiles(package);
|
||||
|
||||
/* cleanup control event subscriptions */
|
||||
ControlEvent_CleanupSubscriptions( package );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue