msi: Avoid a crash on database destruction.

This commit is contained in:
Hans Leidekker 2010-09-17 15:20:07 +02:00 committed by Alexandre Julliard
parent 931bf05731
commit 3ef3e81f9e
1 changed files with 1 additions and 1 deletions

View File

@ -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)
{ {