msi: Free the cached streams when closing the database.

This commit is contained in:
James Hawkins 2009-12-16 19:05:05 -08:00 committed by Alexandre Julliard
parent 78b2cedaa6
commit a2f5d0e270
2 changed files with 2 additions and 0 deletions

View File

@ -57,6 +57,7 @@ static VOID MSI_CloseDatabase( MSIOBJECTHDR *arg )
msi_free(db->path);
free_cached_tables( db );
msi_free_streams( db );
msi_free_transforms( db );
msi_destroy_stringtable( db->strings );
IStorage_Release( db->storage );

View File

@ -650,6 +650,7 @@ extern void msiobj_unlock(MSIOBJECTHDR *);
extern void msi_free_handle_table(void);
extern void free_cached_tables( MSIDATABASE *db );
extern void msi_free_streams( MSIDATABASE *db );
extern void msi_free_transforms( MSIDATABASE *db );
extern UINT MSI_CommitTables( MSIDATABASE *db );