Merge pull request #1484 from noahmetzger/coverity

Fixed Resource Leak detected by Coverity
This commit is contained in:
zdenop 2018-04-18 08:26:01 +02:00 committed by GitHub
commit 9e69ecaa5d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -475,6 +475,7 @@ WERD_RES *Tesseract::TrySuperscriptSplits(
delete core;
delete prefix;
delete suffix;
delete bb1;
return NULL;
}
recog_word_recursive(core);