Build with ASAN on macOS by default.

This commit is contained in:
Nicholas Marriott
2026-07-12 13:26:25 +01:00
parent 6fd9987632
commit 330bedfb47
4 changed files with 24 additions and 2 deletions

3
grid.c
View File

@@ -366,6 +366,9 @@ grid_create(u_int sx, u_int sy, u_int hlimit)
if (gd->sy != 0)
gd->linedata = xcalloc(gd->sy, sizeof *gd->linedata);
#ifdef __APPLE__
assert(gd->hsize == 0);
#endif
grid_check_is_clear(gd);
return (gd);
}