AmendHub

Download (as of this amendment):

jcs

/

textview

/

amendments

/

74

TVNew: Free first_style_slab on failure


jcs made amendment 74 about 1 month ago
--- textview.c Wed Oct 14 17:13:23 2026 +++ textview.c Wed Oct 14 17:45:06 2026 @@ -79,6 +79,8 @@ fail: DisposHandle(tv->first_chunk_slab); if (tv->first_text_slab) DisposHandle(tv->first_text_slab); + if (tv->first_style_slab) + DisposHandle(tv->first_style_slab); if (tv->canvas_baseaddr) DisposHandle(tv->canvas_baseaddr); if (tv->canvas) {