msi: Free the cached streams when closing the database.
This commit is contained in:
parent
78b2cedaa6
commit
a2f5d0e270
|
@ -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 );
|
||||
|
|
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in New Issue