mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-18 06:30:14 +08:00
guard around delete[]
git-svn-id: https://tesseract-ocr.googlecode.com/svn/trunk@391 d0cd1f9f-072b-0410-8dd7-cf729c803f20
This commit is contained in:
parent
c5c56b319e
commit
f81004260f
@ -345,7 +345,9 @@ int main(int argc, char **argv) {
|
||||
#endif // HAVE_LIBLEPT
|
||||
|
||||
//no longer using ext or fp
|
||||
#ifdef _TIFFIO_
|
||||
delete[] ext;
|
||||
#endif
|
||||
fclose(fp);
|
||||
|
||||
bool output_hocr = tessedit_create_hocr;
|
||||
|
Loading…
Reference in New Issue
Block a user