sixel: free sixelmap on recycle #2104

pull/2122/head
nick black 3 years ago
parent 06351d5a39
commit 28bc8411b5
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -61,6 +61,8 @@ sprixel* sprixel_recycle(ncplane* n){
sprixel_hide(hides);
return sprixel_alloc(&nc->tcache, n, dimy, dimx);
}
sixelmap_free(n->sprite->smap);
n->sprite->smap = NULL;
return n->sprite;
}

Loading…
Cancel
Save