mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-10 05:33:51 -04:00
main: free search buffer
This commit is contained in:
parent
bb4fd58223
commit
43fc297fbd
1 changed files with 2 additions and 0 deletions
2
main.c
2
main.c
|
|
@ -1086,6 +1086,8 @@ out:
|
||||||
for (size_t i = 0; i < sizeof(term.fonts) / sizeof(term.fonts[0]); i++)
|
for (size_t i = 0; i < sizeof(term.fonts) / sizeof(term.fonts[0]); i++)
|
||||||
font_destroy(&term.fonts[i]);
|
font_destroy(&term.fonts[i]);
|
||||||
|
|
||||||
|
free(term.search.buf);
|
||||||
|
|
||||||
if (term.flash.fd != -1)
|
if (term.flash.fd != -1)
|
||||||
close(term.flash.fd);
|
close(term.flash.fd);
|
||||||
if (term.blink.fd != -1)
|
if (term.blink.fd != -1)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue