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

Lewis John McGibbney updated GORA-493:
--------------------------------------
    Assignee: Ted Yu

> Unclosed DataInputBuffer in IOUtils#deserialize()
> -------------------------------------------------
>
>                 Key: GORA-493
>                 URL: https://issues.apache.org/jira/browse/GORA-493
>             Project: Apache Gora
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>            Priority: Minor
>             Fix For: 0.7
>
>         Attachments: GORA-493.v1.patch
>
>
> {code}
>     DataInputBuffer buffer = new DataInputBuffer();
>     buffer.reset(in, in.length);
>     return deserialize(conf, buffer, obj);
> {code}
> buffer should be closed upon return from the method.
> In serialize(), there is similar problem for DataOutputBuffer.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to