commit | da50d552321c8bcf1108ebaf2ef21c08bf77956d | [log] [tgz] |
---|---|---|
author | Andrew McGeachie <geechorama@apache.org> | 周三 7月 21 19:14:44 2010 +0000 |
committer | Andrew McGeachie <geechorama@apache.org> | 周三 7月 21 19:14:44 2010 +0000 |
tree | ddff9bdee3c6dbb1e81ea8a89911f8223174a295 | |
parent | 99f2ab7790003138124a5791d624ed5651e4908c [diff] [blame] |
THRIFT-688. Make TBinaryProtocol obey cocoa memory allocation conventions git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@966369 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/lib/cocoa/src/protocol/TBinaryProtocol.m b/lib/cocoa/src/protocol/TBinaryProtocol.m index 5999e25..b272716 100644 --- a/lib/cocoa/src/protocol/TBinaryProtocol.m +++ b/lib/cocoa/src/protocol/TBinaryProtocol.m
@@ -37,7 +37,7 @@ } - (TBinaryProtocol *) newProtocolOnTransport: (id <TTransport>) transport { - return [[[TBinaryProtocol alloc] initWithTransport: transport] autorelease]; + return [[TBinaryProtocol alloc] initWithTransport: transport]; } @end