Fixed two memory leaks.

I fixed two memory leaks. First one is the char* urf8Text in recognizedText and second one is _tesseract in clear.