mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
sixel: sixel_fini(): free image data
Normally, this data is always free:d indirectly, when the sixel image that took over ownership is destroyed. But let’s play it safe.
This commit is contained in:
parent
b119a8a24a
commit
f9a730f33b
1 changed files with 1 additions and 0 deletions
1
sixel.c
1
sixel.c
|
|
@ -28,6 +28,7 @@ get_bg(const struct terminal *term)
|
|||
void
|
||||
sixel_fini(struct terminal *term)
|
||||
{
|
||||
free(term->sixel.image.data);
|
||||
free(term->sixel.private_palette);
|
||||
free(term->sixel.shared_palette);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue