Code Review
/
common
/
thrift.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
10a22bf
)
Silence a valgrind complaint by matching "delete[]" with "new[]".
author
David Reiss
<dreiss@apache.org>
Mon, 28 Apr 2008 02:42:28 +0000
(
02:42
+0000)
committer
David Reiss
<dreiss@apache.org>
Mon, 28 Apr 2008 02:42:28 +0000
(
02:42
+0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665666
13f79535
-47bb-0310-9956-
ffa450edef68
lib/cpp/src/transport/TFileTransport.cpp
patch
|
blob
|
history
diff --git
a/lib/cpp/src/transport/TFileTransport.cpp
b/lib/cpp/src/transport/TFileTransport.cpp
index
6879079
..
6c4920f
100644
(file)
--- a/
lib/cpp/src/transport/TFileTransport.cpp
+++ b/
lib/cpp/src/transport/TFileTransport.cpp
@@
-150,7
+150,7
@@
TFileTransport::~TFileTransport() {
}
if (readBuff_) {
- delete readBuff_;
+ delete
[]
readBuff_;
readBuff_ = NULL;
}