diff --git a/src/poc/grid.c b/src/poc/grid.c index a46869bdd..faee9c8ac 100644 --- a/src/poc/grid.c +++ b/src/poc/grid.c @@ -43,6 +43,7 @@ draw_grid(struct ncplane* stdn){ memset(row, 0xff, maxbx * sizeof(*rgba)); } struct ncvisual* ncv = ncvisual_from_rgba(rgba, maxby, maxbx * sizeof(*rgba), maxbx); + free(rgba); return ncv; }