Fix comment

This commit is contained in:
seajee
2025-07-22 17:16:37 +02:00
parent d7562ec368
commit 5d487e1bce

View File

@@ -38,7 +38,7 @@ void *arena_alloc(Arena *a, size_t bytes)
return NULL;
}
// Empty a
// Empty arena
if (a->head == NULL) {
size_t size = (bytes > ARENA_MIN_CAPACITY ? bytes : ARENA_MIN_CAPACITY);
a->head = malloc(sizeof(*a->head) + size);