mirror of https://github.com/fairyglade/ly.git
fix memory leak
This commit is contained in:
parent
8c6f38407d
commit
9d233b565e
|
|
@ -265,6 +265,7 @@ void draw_clock(struct term_buf* buf)
|
|||
tb_blit(buf->width - clockstrlen, 0, clockstrlen, 1, cells);
|
||||
|
||||
free(clockstr);
|
||||
free(cells);
|
||||
}
|
||||
|
||||
struct tb_cell* strn_cell(char* s, uint16_t len) // throws
|
||||
|
|
|
|||
Loading…
Reference in New Issue