Commit b79fde44 authored by Alexandre Julliard's avatar Alexandre Julliard

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

parent 2e1736d0
...@@ -159,8 +159,6 @@ static void free_package_structures( MSIPACKAGE *package ) ...@@ -159,8 +159,6 @@ static void free_package_structures( MSIPACKAGE *package )
TRACE("Freeing package action data\n"); TRACE("Freeing package action data\n");
remove_tracked_tempfiles(package);
LIST_FOR_EACH_SAFE( item, cursor, &package->features ) LIST_FOR_EACH_SAFE( item, cursor, &package->features )
{ {
MSIFEATURE *feature = LIST_ENTRY( item, MSIFEATURE, entry ); MSIFEATURE *feature = LIST_ENTRY( item, MSIFEATURE, entry );
...@@ -339,6 +337,8 @@ static void free_package_structures( MSIPACKAGE *package ) ...@@ -339,6 +337,8 @@ static void free_package_structures( MSIPACKAGE *package )
msi_free( package->LastAction ); msi_free( package->LastAction );
msi_free( package->langids ); msi_free( package->langids );
remove_tracked_tempfiles(package);
/* cleanup control event subscriptions */ /* cleanup control event subscriptions */
ControlEvent_CleanupSubscriptions( package ); ControlEvent_CleanupSubscriptions( package );
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment