aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index b5de4b93f..583127944 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1274,6 +1274,7 @@ int main(int argc, char *argv[])
<< (100.0 * count / blocks.size()) << "% completed" << std::endl;
}
new_db->endSave();
+ delete new_db;
actionstream << "Successfully migrated " << count << " blocks" << std::endl;
world_mt.set("backend", migrate_to);