diff options
author | Aaron Seigo <aseigo@kde.org> | 2015-01-27 18:26:10 +0100 |
---|---|---|
committer | Aaron Seigo <aseigo@kde.org> | 2015-01-27 18:44:27 +0100 |
commit | 7137cb09a1f7a4d36e9865d9c9e1f54d59ddbc68 (patch) | |
tree | d03e9f7fd04b9b6f94f57a8c76e8343b1eb839e3 /common | |
parent | e0c0f085f9bb3c80cd273ec89264ee5a0f51829c (diff) | |
download | sink-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.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 |