THRIFT-1041. java: TDeserializer holds onto a reference of the array it reads after...
authorBryan Duxbury <bryanduxbury@apache.org>
Wed, 26 Jan 2011 18:40:30 +0000 (18:40 +0000)
committerBryan Duxbury <bryanduxbury@apache.org>
Wed, 26 Jan 2011 18:40:30 +0000 (18:40 +0000)
commit34c2dbd545c32dde632f95e376830f49457ac2aa
treea0968b35c1c8c3172bc6577ec7c68a8532a3595f
parentd94cb081a1b304409d59c75115d68ad794e3d408
THRIFT-1041. java: TDeserializer holds onto a reference of the array it reads after it is done deserializing

This patch makes sure that after using the bytes passed in, no references are retained.

git-svn-id: https://svn.apache.org/repos/asf/thrift/trunk@1063820 13f79535-47bb-0310-9956-ffa450edef68
lib/java/src/org/apache/thrift/TDeserializer.java
lib/java/src/org/apache/thrift/transport/TMemoryInputTransport.java