mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-04-14 08:21:27 -04:00
osc: allocate data buffer dynamically
This commit is contained in:
parent
95ff37afd7
commit
153628a217
5 changed files with 30 additions and 4 deletions
1
main.c
1
main.c
|
|
@ -818,6 +818,7 @@ out:
|
|||
if (term.kbd.xkb != NULL)
|
||||
xkb_context_unref(term.kbd.xkb);
|
||||
|
||||
free(term.vt.osc.data);
|
||||
for (int row = 0; row < term.normal.num_rows; row++)
|
||||
grid_row_free(term.normal.rows[row]);
|
||||
free(term.normal.rows);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue