Fixed mismatching allocation and deallocation: el_ptr

pull/1274/head
Nghia Ho 12 years ago
parent bb15e735b8
commit 21641d04a7
  1. 2
      samples/c/mushroom.cpp

@ -90,7 +90,7 @@ static int mushroom_read_database( const char* filename, CvMat** data, CvMat** m
}
cvReleaseMemStorage( &storage );
delete el_ptr;
delete [] el_ptr;
return 1;
}

Loading…
Cancel
Save