From: David Reiss Date: Wed, 22 Aug 2007 02:32:11 +0000 (+0000) Subject: Thrift: Bugfix. X-Git-Tag: 0.2.0~1258 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=95aaaf1852dd245e106a5879eb5b9baba32ce5a8;p=common%2Fthrift.git Thrift: Bugfix. 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 --- diff --git a/lib/cpp/src/transport/TTransportUtils.h b/lib/cpp/src/transport/TTransportUtils.h index e437ee99..3e903fd9 100644 --- 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;