Commit 4e9cb475 authored by Vadim Pisarevsky's avatar Vadim Pisarevsky

Merge pull request #3565 from mshabunin:ml-leak-24

parents ad71efb2 e23ba921
...@@ -92,7 +92,7 @@ void CvMLData::free_train_test_idx() ...@@ -92,7 +92,7 @@ void CvMLData::free_train_test_idx()
{ {
cvReleaseMat( &train_sample_idx ); cvReleaseMat( &train_sample_idx );
cvReleaseMat( &test_sample_idx ); cvReleaseMat( &test_sample_idx );
sample_idx = 0; cvFree(&sample_idx);
} }
void CvMLData::clear() void CvMLData::clear()
......
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