[plane_blit_sixel]: call destroy_tam()

This commit is contained in:
nick black 2021-10-19 19:54:49 -04:00
parent 18425cd426
commit 5ce9f57540
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

View File

@ -1356,7 +1356,7 @@ plane_blit_sixel(sprixel* spx, fbuf* f, int leny, int lenx,
if(n){
//fprintf(stderr, "TAM WAS: %p NOW: %p\n", n->tam, tam);
if(n->tam != tam){
free(n->tam);
destroy_tam(n);
}
n->tam = tam;
n->sprite = spx;