Fixed mismatching allocation and deallocation: el_ptr

This commit is contained in:
Nghia Ho
2013-08-14 23:36:29 +10:00
parent bb15e735b8
commit 21641d04a7

View File

@@ -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;
} }