fix: alloc free off by one

This commit is contained in:
CoderJoshDK
2025-09-24 08:28:32 -04:00
parent 103e7abad5
commit c5786c5d38
3 changed files with 8 additions and 3 deletions

View File

@@ -353,6 +353,7 @@ typedef struct {
typedef struct {
const char* ptr;
uintptr_t len;
uintptr_t cap;
} ghostty_string_s;
typedef struct {