When a newtTextbox component is created using the the NEWT_FLAG_SCROLL flag and later destroyed, the memory allocated for the scrollbar is not freed. This patch frees the scrollbar when the textbox component is destroyed. Reproducible: Always Steps to Reproduce:
Created attachment 65808 [details, diff] Fixes a small memory leak in the newtTextbox component
fixed in cvs, thanks.