Skip to content

Commit

Permalink
Merge pull request tesseract-ocr#51 from unbe/TessDeleteResultRendere…
Browse files Browse the repository at this point in the history
…r-delete-fix

Fix incorrect use of delete[] in TessDeleteResultRenderer
  • Loading branch information
zdenop committed Jul 20, 2015
2 parents 2a8e2cf + 2ef4a00 commit 386ec65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/capi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 386ec65

Please sign in to comment.