From 160e0b2fba31837c0d80f56aac7e7700a1772809 Mon Sep 17 00:00:00 2001 From: Christopher Jeffrey Date: Sun, 3 Apr 2016 00:01:17 -0700 Subject: [PATCH] release iterator snapshots. --- src/iterator.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/iterator.cc b/src/iterator.cc index 7a39f790..28309efa 100644 --- a/src/iterator.cc +++ b/src/iterator.cc @@ -197,6 +197,7 @@ void Iterator::IteratorEnd () { //TODO: could return it->status() delete dbIterator; dbIterator = NULL; + database->ReleaseSnapshot(options->snapshot); } void Iterator::Release () {