[ 
https://issues.apache.org/jira/browse/THRIFT-1041?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Bryan Duxbury closed THRIFT-1041.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 0.7

I ended up committing a slightly different version of this patch, since calling 
reset(null) was causing NPEs. 

> TDeserializer holds onto a reference of the array it reads after it is done 
> deserializing
> -----------------------------------------------------------------------------------------
>
>                 Key: THRIFT-1041
>                 URL: https://issues.apache.org/jira/browse/THRIFT-1041
>             Project: Thrift
>          Issue Type: Bug
>          Components: Java - Library
>            Reporter: Takashi Yonebayashi
>            Assignee: Bryan Duxbury
>            Priority: Minor
>             Fix For: 0.7
>
>         Attachments: THRIFT-1041.patch
>
>
> Since the TMemoryInputTransport is not reset after the TDeserializer is done 
> reading, this could cause memory problems for applications that expect those 
> arrays to be free for garbage collection later.  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to