projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bb15e73
)
Fixed mismatching allocation and deallocation: el_ptr
author
Nghia Ho
<nghiaho12@yahoo.com>
Wed, 14 Aug 2013 13:36:29 +0000
(23:36 +1000)
committer
Nghia Ho
<nghiaho12@yahoo.com>
Wed, 14 Aug 2013 13:36:29 +0000
(23:36 +1000)
samples/c/mushroom.cpp
patch
|
blob
|
history
diff --git
a/samples/c/mushroom.cpp
b/samples/c/mushroom.cpp
index
5763b12
..
60eb9f0
100644
(file)
--- 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;
}