mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Fix memory leak in database migration
This commit is contained in:
		@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user