msi: Remove the temp files after the storage files are closed.

This commit is contained in:
Alexandre Julliard 2011-05-26 13:28:27 +02:00
parent 2e1736d0eb
commit b79fde445e
1 changed files with 2 additions and 2 deletions

View File

@ -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 );
}