Alexandre Julliard : msi: Remove the temp files after the storage files are closed.
Alexandre Julliard
julliard at winehq.org
Thu May 26 10:56:25 CDT 2011
Module: wine
Branch: master
Commit: b79fde445edfc568d3abc777f7c51025e54f0205
URL: http://source.winehq.org/git/wine.git/?a=commit;h=b79fde445edfc568d3abc777f7c51025e54f0205
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu May 26 13:28:27 2011 +0200
msi: Remove the temp files after the storage files are closed.
---
dlls/msi/package.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/msi/package.c b/dlls/msi/package.c
index 9d7ab73..c421805 100644
--- a/dlls/msi/package.c
+++ b/dlls/msi/package.c
@@ -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 );
}
More information about the wine-cvs
mailing list