diff options
Diffstat (limited to 'src/libstore/db.cc')
-rw-r--r-- | src/libstore/db.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/libstore/db.cc b/src/libstore/db.cc index 448b70e6ccbc..667951ae7b84 100644 --- a/src/libstore/db.cc +++ b/src/libstore/db.cc @@ -278,6 +278,8 @@ void Database::close() } catch (DbException e) { rethrow(e); } delete env; + + env = 0; } |