Merge pull request #51 from unbe/TessDeleteResultRenderer-delete-fix

Fix incorrect use of delete[] in TessDeleteResultRenderer
This commit is contained in:
zdenop 2015-07-20 07:40:43 +02:00
commit da9489388e

View File

@ -64,7 +64,7 @@ TESS_API TessResultRenderer* TESS_CALL TessBoxTextRendererCreate(const char* out
TESS_API void TESS_CALL TessDeleteResultRenderer(TessResultRenderer* renderer)
{
delete [] renderer;
delete renderer;
}
TESS_API void TESS_CALL TessResultRendererInsert(TessResultRenderer* renderer, TessResultRenderer* next)