msi: Avoid a crash on database destruction.
This commit is contained in:
parent
931bf05731
commit
3ef3e81f9e
|
@ -241,7 +241,7 @@ static VOID MSI_CloseDatabase( MSIOBJECTHDR *arg )
|
||||||
free_cached_tables( db );
|
free_cached_tables( db );
|
||||||
free_streams( db );
|
free_streams( db );
|
||||||
free_transforms( db );
|
free_transforms( db );
|
||||||
msi_destroy_stringtable( db->strings );
|
if (db->strings) msi_destroy_stringtable( db->strings );
|
||||||
IStorage_Release( db->storage );
|
IStorage_Release( db->storage );
|
||||||
if (db->deletefile)
|
if (db->deletefile)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue