*fixed memory leak in text_setto as reported by Jonathan Wilkes