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:
Daniel Eklöf 2021-04-07 19:07:43 +02:00
parent b119a8a24a
commit f9a730f33b
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

View file

@ -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);
}