From: Nghia Ho Date: Wed, 14 Aug 2013 13:36:29 +0000 (+1000) Subject: Fixed mismatching allocation and deallocation: el_ptr X-Git-Tag: accepted/tizen/6.0/unified/20201030.111113~1314^2~1093^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=21641d04a73aeb612aa614611595bc0fad165fc6;p=platform%2Fupstream%2Fopencv.git Fixed mismatching allocation and deallocation: el_ptr --- diff --git a/samples/c/mushroom.cpp b/samples/c/mushroom.cpp index 5763b12..60eb9f0 100644 --- a/samples/c/mushroom.cpp +++ b/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; }