Memory Leak Fix
Memory leak in BoostedSoftCascadeOctave::traverse
This commit is contained in:
parent
a3e31a69df
commit
866d676582
@ -320,6 +320,8 @@ void BoostedSoftCascadeOctave::traverse(const CvBoostTree* tree, cv::FileStorage
|
|||||||
|
|
||||||
|
|
||||||
fs << "}";
|
fs << "}";
|
||||||
|
|
||||||
|
delete [] leafs;
|
||||||
}
|
}
|
||||||
|
|
||||||
void BoostedSoftCascadeOctave::write( cv::FileStorage &fso, const FeaturePool* pool, InputArray _thresholds) const
|
void BoostedSoftCascadeOctave::write( cv::FileStorage &fso, const FeaturePool* pool, InputArray _thresholds) const
|
||||||
|
Loading…
x
Reference in New Issue
Block a user