projects
/
zxing.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Issue 396
[zxing.git]
/
cpp
/
core
/
src
/
zxing
/
MultiFormatReader.cpp
diff --git
a/cpp/core/src/zxing/MultiFormatReader.cpp
b/cpp/core/src/zxing/MultiFormatReader.cpp
index
72b950c
..
e65d0a9
100644
(file)
--- a/
cpp/core/src/zxing/MultiFormatReader.cpp
+++ b/
cpp/core/src/zxing/MultiFormatReader.cpp
@@
-49,6
+49,10
@@
namespace zxing {
throw ReaderException("No code detected");
}
MultiFormatReader::~MultiFormatReader(){
+ int size = readers->size();
+ for (int i = 0; i < size; i++) {
+ delete (*readers)[i];
+ }
delete readers;
}
}
\ No newline at end of file