Fix crash and leak in Tesseract#findText()