mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-08 01:10:23 +00:00
sixel: free sixelmap on recycle #2104
This commit is contained in:
parent
06351d5a39
commit
28bc8411b5
@ -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…
Reference in New Issue
Block a user