mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-12-01 07:59:05 +08:00
Merge pull request #1484 from noahmetzger/coverity
Fixed Resource Leak detected by Coverity
This commit is contained in:
commit
9e69ecaa5d
@ -475,6 +475,7 @@ WERD_RES *Tesseract::TrySuperscriptSplits(
|
||||
delete core;
|
||||
delete prefix;
|
||||
delete suffix;
|
||||
delete bb1;
|
||||
return NULL;
|
||||
}
|
||||
recog_word_recursive(core);
|
||||
|
Loading…
Reference in New Issue
Block a user