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:
2dc72c3
)
Thrift: Bugfix.
author
David Reiss
<dreiss@apache.org>
Wed, 22 Aug 2007 02:32:11 +0000
(
02:32
+0000)
committer
David Reiss
<dreiss@apache.org>
Wed, 22 Aug 2007 02:32:11 +0000
(
02:32
+0000)
Summary: Missed one.
Blame Rev: 55988
Reviewed By: yunfang
Test Plan: make
Revert Plan: ok
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665214
13f79535
-47bb-0310-9956-
ffa450edef68
lib/cpp/src/transport/TTransportUtils.h
patch
|
blob
|
history
diff --git
a/lib/cpp/src/transport/TTransportUtils.h
b/lib/cpp/src/transport/TTransportUtils.h
index
e437ee9
..
3e903fd
100644
(file)
--- a/
lib/cpp/src/transport/TTransportUtils.h
+++ b/
lib/cpp/src/transport/TTransportUtils.h
@@
-333,7
+333,7
@@
class TMemoryBuffer : public TTransport {
if (owner_) {
free(buffer_);
}
- owner_ =
donate
;
+ owner_ =
transferOwnership
;
buffer_ = buf;
bufferSize_ = sz;
wPos_ = sz;