core: tokbuf: Dynamically expand token buffer

Signed-off-by: Ian Moffett <ian@mirocom.org>
This commit is contained in:
2026-05-23 11:35:31 -04:00
parent a0b204fadd
commit 833978f414
3 changed files with 40 additions and 4 deletions
+1
View File
@@ -48,4 +48,5 @@ state_close(struct cescal_state *state)
close(state->in_fd);
state->in_fd = -1;
ptrbox_destroy(&state->ptrbox);
tokbuf_destroy(&state->tokbuf);
}