diff options
Diffstat (limited to 'common/storage_lmdb.cpp')
-rw-r--r-- | common/storage_lmdb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/storage_lmdb.cpp b/common/storage_lmdb.cpp index 98c1032..3f39192 100644 --- a/common/storage_lmdb.cpp +++ b/common/storage_lmdb.cpp | |||
@@ -417,7 +417,7 @@ void Storage::removeFromDisk() const | |||
417 | qWarning() << "Failed to remove directory" << d->storageRoot << d->name; | 417 | qWarning() << "Failed to remove directory" << d->storageRoot << d->name; |
418 | } | 418 | } |
419 | auto env = d->sEnvironments.take(fullPath); | 419 | auto env = d->sEnvironments.take(fullPath); |
420 | delete env; | 420 | mdb_env_close(env); |
421 | } | 421 | } |
422 | 422 | ||
423 | } // namespace Akonadi2 | 423 | } // namespace Akonadi2 |