mirror of
https://github.com/dankamongmen/notcurses
synced 2025-03-12 10:39:04 -04:00
[grid PoC] free rgba after loading visual #1348
This commit is contained in:
parent
51043fc959
commit
fa3c872ae6
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user