mirror of https://github.com/djcb/mu.git
* mu-store-xapian: catch exceptions in dtor
This commit is contained in:
parent
affe20551a
commit
3b18fa9682
|
@ -64,9 +64,11 @@ mu_store_xapian_new (const char* xpath)
|
|||
|
||||
} MU_XAPIAN_CATCH_BLOCK;
|
||||
|
||||
delete store->_db;
|
||||
try {
|
||||
delete store->_db;
|
||||
} MU_XAPIAN_CATCH_BLOCK;
|
||||
|
||||
g_free (store);
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue