fix memory leak

This commit is contained in:
SpaghettiBorgar 2023-05-06 11:37:56 +02:00
parent 8c6f38407d
commit 9d233b565e
1 changed files with 1 additions and 0 deletions

View File

@ -265,6 +265,7 @@ void draw_clock(struct term_buf* buf)
tb_blit(buf->width - clockstrlen, 0, clockstrlen, 1, cells); tb_blit(buf->width - clockstrlen, 0, clockstrlen, 1, cells);
free(clockstr); free(clockstr);
free(cells);
} }
struct tb_cell* strn_cell(char* s, uint16_t len) // throws struct tb_cell* strn_cell(char* s, uint16_t len) // throws