Commit a2f5d0e2 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

msi: Free the cached streams when closing the database.

parent 78b2ceda
......@@ -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 );
......
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