Fix memory leak of world name

fixes #1458
This commit is contained in:
IntegratedQuantum 2025-05-17 22:56:49 +02:00
parent 53d6cc70e9
commit 5c68b2da2a

View File

@ -566,7 +566,7 @@ pub const ServerWorld = struct { // MARK: ServerWorld
self.biomePalette.deinit();
self.wio.deinit();
main.globalAllocator.free(self.path);
//main.globalAllocator.free(self.name);
main.globalAllocator.free(self.name);
main.globalAllocator.destroy(self);
}