From 3ef3e81f9e9ce998bb1ef86afa8424cad9cd68ab Mon Sep 17 00:00:00 2001 From: Hans Leidekker Date: Fri, 17 Sep 2010 15:20:07 +0200 Subject: [PATCH] msi: Avoid a crash on database destruction. --- dlls/msi/database.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/msi/database.c b/dlls/msi/database.c index 748cbfd4e2a..3007d485b2b 100644 --- a/dlls/msi/database.c +++ b/dlls/msi/database.c @@ -241,7 +241,7 @@ static VOID MSI_CloseDatabase( MSIOBJECTHDR *arg ) free_cached_tables( db ); free_streams( db ); free_transforms( db ); - msi_destroy_stringtable( db->strings ); + if (db->strings) msi_destroy_stringtable( db->strings ); IStorage_Release( db->storage ); if (db->deletefile) {