summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorAaron Seigo <aseigo@kde.org>2015-01-27 18:26:10 +0100
committerAaron Seigo <aseigo@kde.org>2015-01-27 18:44:27 +0100
commit7137cb09a1f7a4d36e9865d9c9e1f54d59ddbc68 (patch)
treed03e9f7fd04b9b6f94f57a8c76e8343b1eb839e3 /common
parente0c0f085f9bb3c80cd273ec89264ee5a0f51829c (diff)
downloadsink-7137cb09a1f7a4d36e9865d9c9e1f54d59ddbc68.tar.gz
sink-7137cb09a1f7a4d36e9865d9c9e1f54d59ddbc68.zip
can not delete this as it is an opaque data structure
instead, use the lmdb api
Diffstat (limited to 'common')
-rw-r--r--common/storage_lmdb.cpp2
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