Commit 866d6765 authored by Jacob Baines's avatar Jacob Baines

Memory Leak Fix

Memory leak in BoostedSoftCascadeOctave::traverse
parent a3e31a69
...@@ -320,6 +320,8 @@ void BoostedSoftCascadeOctave::traverse(const CvBoostTree* tree, cv::FileStorage ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment