summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/main.ha2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/main.ha b/server/main.ha
index 41e6b6a..475d19a 100644
--- a/server/main.ha
+++ b/server/main.ha
@@ -69,7 +69,6 @@ export fn main() void = {
for (state.running) {
const timeout = time::diff(now, next);
- fmt::printfln("running loop, timeout {} sec",timeout/time::SECOND)!;
loop(&state, timeout);
now = time::now(time::clock::MONOTONIC);
@@ -289,6 +288,7 @@ fn unload_distant_chunks(state: *server_state) void = {
fmt::printfln("unloading {},{}",
state.pictures[i].world_pos.0,
state.pictures[i].world_pos.1)!;
+ free(state.pictures[i].d);
delete(state.pictures[i]);
};
};