From 48e1bb3c44a61913336286b86934dca99ef3815d Mon Sep 17 00:00:00 2001 From: Ash Date: Mon, 12 Aug 2024 11:38:21 +0200 Subject: [PATCH] fix: wrong order definitions in arena --- src/arena.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/arena.c b/src/arena.c index f0c9db8..d7c42f4 100644 --- a/src/arena.c +++ b/src/arena.c @@ -109,8 +109,8 @@ void arena_free(Arena* arena) { ArenaRegion* region = arena->start; while (region) { - region = region->next; ArenaRegion* tmp = region; + region = region->next; free_with(&arena->inner, tmp->buf); free_with(&arena->inner, tmp); -- 2.45.2