tesseract/classify
Stefan Weil 1e60a8d71c Fix crash caused by undefined value of local variable
Commit b1f03cb697 added a call of function
FreeFeatureSet to fix a memory leak, but introduced a new bug because the
local variable FloatFeatures was not always assigned a value.

Now FloatFeatures is always assigned a value, and we only need a single
place where FreeFeatureSet is called.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
2016-11-07 12:31:20 +01:00
..
adaptive.cpp Fixed issues 1093-1097 2014-02-04 23:36:24 +00:00
adaptive.h Various fixes, including memory leak in fixspace, font labels on output, removed some annoying debug output, fixes to initialization of parameters, general cleanup, and added Hindi 2011-03-21 21:45:36 +00:00
adaptmatch.cpp Fix crash caused by undefined value of local variable 2016-11-07 12:31:20 +01:00
blobclass.cpp Fixed issue 1252: Refactored LearnBlob and its call hierarchy to make it a member of Classify. 2015-05-12 15:22:34 -07:00
blobclass.h Fixed issue 1252: Refactored LearnBlob and its call hierarchy to make it a member of Classify. 2015-05-12 15:22:34 -07:00
classify.cpp classify: Fix typos in comments and strings 2015-09-14 22:12:06 +02:00
classify.h classify: Fix typos in comments and strings 2015-09-14 22:12:06 +02:00
cluster.cpp classify: Fix typos in comments and strings 2015-09-14 22:12:06 +02:00
cluster.h Added simultaneous multi-language capability, Added support for ShapeTable in classifier and training, Refactored class pruner, Added new uniform classifier API, Added new training error counter 2012-02-02 02:57:42 +00:00
clusttool.cpp Fix free of buffer which was not allocated 2015-11-27 07:02:22 +01:00
clusttool.h classify: Fix typos in comments and strings 2015-09-14 22:12:06 +02:00
cutoffs.cpp Doxygen 2015-07-20 18:48:00 +01:00
cutoffs.h Changes to classify for 3.00 2009-07-11 02:17:36 +00:00
errorcounter.cpp Refactored classifier to make it easier to add new ones and generalized feature extractor to allow fx from grey 2013-09-23 15:15:06 +00:00
errorcounter.h Fixed a lot of compiler/clang warnings 2014-01-25 02:28:51 +00:00
featdefs.cpp classify: Fix typos in comments and strings 2015-09-14 22:12:06 +02:00
featdefs.h Fixed issue 1252: Refactored LearnBlob and its call hierarchy to make it a member of Classify. 2015-05-12 15:22:34 -07:00
float2int.cpp Fixed infinite loop in training due to poor clipping of the table filler 2015-05-13 17:09:35 -07:00
float2int.h Added simultaneous multi-language capability, Added support for ShapeTable in classifier and training, Refactored class pruner, Added new uniform classifier API, Added new training error counter 2012-02-02 02:57:42 +00:00
fpoint.cpp Doxygen 2015-07-20 18:48:00 +01:00
fpoint.h 3.01 code from http://github.com/jimregan/tesseract-ocr with addaptions related to Linux and Windows (VC2008) compile process 2010-11-23 18:34:14 +00:00
intfeaturedist.cpp Added simultaneous multi-language capability, Added support for ShapeTable in classifier and training, Refactored class pruner, Added new uniform classifier API, Added new training error counter 2012-02-02 02:57:42 +00:00
intfeaturedist.h Added simultaneous multi-language capability, Added support for ShapeTable in classifier and training, Refactored class pruner, Added new uniform classifier API, Added new training error counter 2012-02-02 02:57:42 +00:00
intfeaturemap.cpp classify: Remove unused constant kMinPCLengthIncrease 2016-09-06 21:49:16 +02:00
intfeaturemap.h Added simultaneous multi-language capability, Added support for ShapeTable in classifier and training, Refactored class pruner, Added new uniform classifier API, Added new training error counter 2012-02-02 02:57:42 +00:00
intfeaturespace.cpp Refactored classifier to make it easier to add new ones and generalized feature extractor to allow fx from grey 2013-09-23 15:15:06 +00:00
intfeaturespace.h Added simultaneous multi-language capability, Added support for ShapeTable in classifier and training, Refactored class pruner, Added new uniform classifier API, Added new training error counter 2012-02-02 02:57:42 +00:00
intfx.cpp classify: Fix typos in comments and strings 2015-09-14 22:12:06 +02:00
intfx.h Refactorerd control functions to enable parallel blob classification 2013-11-08 20:30:56 +00:00
intmatcher.cpp Remove register attribute for local variables 2015-11-06 06:45:19 +01:00
intmatcher.h class and struct are incompatible in MSVC2013 conpiler. 2015-07-09 21:45:29 +03:00
intproto.cpp Remove register attribute for local variables 2015-11-06 06:45:19 +01:00
intproto.h Fixed infinite loop in training due to poor clipping of the table filler 2015-05-13 17:09:35 -07:00
kdtree.cpp classify: Fix typos in comments and strings 2015-09-14 22:12:06 +02:00
kdtree.h 3.01 code from http://github.com/jimregan/tesseract-ocr with addaptions related to Linux and Windows (VC2008) compile process 2010-11-23 18:34:14 +00:00
Makefile.am Makefile.am for fix to issue 1252 2015-05-12 15:25:00 -07:00
mastertrainer.cpp classify/mastertraining: Fix memory leaks 2016-10-24 13:50:42 +02:00
mastertrainer.h Fixed a lot of compiler/clang warnings 2014-01-25 02:28:51 +00:00
mf.cpp What the...? Git's merge failed hard. 2015-07-20 22:42:58 +01:00
mf.h Fixed issue 1252: Refactored LearnBlob and its call hierarchy to make it a member of Classify. 2015-05-12 15:22:34 -07:00
mfdefs.cpp Doxygen 2015-07-20 18:48:00 +01:00
mfdefs.h Fixed issue 1252: Refactored LearnBlob and its call hierarchy to make it a member of Classify. 2015-05-12 15:22:34 -07:00
mfoutline.cpp classify: Fix typos in comments and strings 2015-09-14 22:12:06 +02:00
mfoutline.h Misc fixes, mostly clang formatting, but some bug fixes in matrix, werd, and tesstrain_utils. Also updates unicharset to match traineddata files. 2015-07-09 14:28:20 -07:00
mfx.cpp Doxygen 2015-07-20 18:48:00 +01:00
mfx.h Doxygen 2015-07-20 18:48:00 +01:00
normfeat.cpp Doxygen 2015-07-20 18:48:00 +01:00
normfeat.h Fixed issue 1252: Refactored LearnBlob and its call hierarchy to make it a member of Classify. 2015-05-12 15:22:34 -07:00
normmatch.cpp Doxygen 2015-07-20 18:48:00 +01:00
normmatch.h 3.01 code from http://github.com/jimregan/tesseract-ocr with addaptions related to Linux and Windows (VC2008) compile process 2010-11-23 18:34:14 +00:00
ocrfeatures.cpp Doxygen 2015-07-20 18:48:00 +01:00
ocrfeatures.h Misc fixes missed from previous commits 2015-05-12 18:13:15 -07:00
outfeat.cpp Doxygen 2015-07-20 18:48:00 +01:00
outfeat.h 3.01 code from http://github.com/jimregan/tesseract-ocr with addaptions related to Linux and Windows (VC2008) compile process 2010-11-23 18:34:14 +00:00
picofeat.cpp classify: Fix typos in comments and strings 2015-09-14 22:12:06 +02:00
picofeat.h Fixed issue 1252: Refactored LearnBlob and its call hierarchy to make it a member of Classify. 2015-05-12 15:22:34 -07:00
protos.cpp Fixed slow-down that was caused by upping MAX_NUM_CLASSES 2014-01-24 21:12:35 +00:00
protos.h Fixed slow-down that was caused by upping MAX_NUM_CLASSES 2014-01-24 21:12:35 +00:00
sampleiterator.cpp Added simultaneous multi-language capability, Added support for ShapeTable in classifier and training, Refactored class pruner, Added new uniform classifier API, Added new training error counter 2012-02-02 02:57:42 +00:00
sampleiterator.h Fixed a lot of compiler/clang warnings 2014-01-25 02:28:51 +00:00
shapeclassifier.cpp Fix argument for tprintf 2016-03-17 11:27:06 +01:00
shapeclassifier.h Refactored classifier to make it easier to add new ones and generalized feature extractor to allow fx from grey 2013-09-23 15:15:06 +00:00
shapetable.cpp Font and classifier output structure cleanup. 2015-05-12 17:24:34 -07:00
shapetable.h Font and classifier output structure cleanup. 2015-05-12 17:24:34 -07:00
tessclassifier.cpp Fixed crash on debugging classifier with a shapetable present 2015-05-13 17:10:23 -07:00
tessclassifier.h Refactored classifier to make it easier to add new ones and generalized feature extractor to allow fx from grey 2013-09-23 15:15:06 +00:00
trainingsample.cpp Fixed a lot of compiler/clang warnings 2014-01-25 02:28:51 +00:00
trainingsample.h Refactored classifier to make it easier to add new ones and generalized feature extractor to allow fx from grey 2013-09-23 15:15:06 +00:00
trainingsampleset.cpp Refactored classifier to make it easier to add new ones and generalized feature extractor to allow fx from grey 2013-09-23 15:15:06 +00:00
trainingsampleset.h Fixed a lot of compiler/clang warnings 2014-01-25 02:28:51 +00:00