Commit 21641d04 authored by Nghia Ho's avatar Nghia Ho

Fixed mismatching allocation and deallocation: el_ptr

parent bb15e735
...@@ -90,7 +90,7 @@ static int mushroom_read_database( const char* filename, CvMat** data, CvMat** m ...@@ -90,7 +90,7 @@ static int mushroom_read_database( const char* filename, CvMat** data, CvMat** m
} }
cvReleaseMemStorage( &storage ); cvReleaseMemStorage( &storage );
delete el_ptr; delete [] el_ptr;
return 1; return 1;
} }
......
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