MCPcopy Create free account
hub / github.com/creatale/node-dv / FreeFeatureSet

Function FreeFeatureSet

deps/tesseract/classify/ocrfeatures.cpp:77–85  ·  view source on GitHub ↗

* Release the memory consumed by the specified feature * set. This routine also frees the memory consumed by the * features contained in the set. * @param FeatureSet set of features to be freed * @return none * @note History: Mon May 21 13:59:46 1990, DSJ, Created. */

Source from the content-addressed store, hash-verified

75 * @note History: Mon May 21 13:59:46 1990, DSJ, Created.
76 */
77void FreeFeatureSet(FEATURE_SET FeatureSet) {
78 int i;
79
80 if (FeatureSet) {
81 for (i = 0; i < FeatureSet->NumFeatures; i++)
82 FreeFeature(FeatureSet->Features[i]);
83 memfree(FeatureSet);
84 }
85} /* FreeFeatureSet */
86
87/**
88 * Allocate and return a new feature of the specified

Callers 4

FreeCharDescriptionFunction · 0.85
InitAdaptedClassMethod · 0.85
GetAdaptiveFeaturesMethod · 0.85
AdaptToCharMethod · 0.85

Calls 2

FreeFeatureFunction · 0.85
memfreeFunction · 0.85

Tested by

no test coverage detected