mirror of
https://github.com/moparisthebest/minetest
synced 2024-11-04 16:35:03 -05:00
Fix memory leak in database migration
This commit is contained in:
parent
bc0bbffa14
commit
6715c422ae
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user