* mu-store-xapian: catch exceptions in dtor

This commit is contained in:
Dirk-Jan C. Binnema
2010-01-08 20:47:13 +02:00
parent affe20551a
commit 3b18fa9682

View File

@ -64,9 +64,11 @@ mu_store_xapian_new (const char* xpath)
} MU_XAPIAN_CATCH_BLOCK; } MU_XAPIAN_CATCH_BLOCK;
delete store->_db; try {
delete store->_db;
} MU_XAPIAN_CATCH_BLOCK;
g_free (store); g_free (store);
return NULL; return NULL;
} }