diff options
Diffstat (limited to 'txt.c')
| -rw-r--r-- | txt.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -267,7 +267,7 @@ int txt_save(Txt *t, const char *path) { void txt_free(Txt *t) { for (u32 i = 0; i < COUNTOF(t->buf); i++) free(t->buf[i].s); - for (u32 i = 0; i < t->hist.n; i++) + for (u32 i = 0; i < TXT_HIST_MAX; i++) free(t->hist.v[i].v); free(t->ptbl.v); } |
