You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2014/10/21 21:59:33 UTC
[jira] [Updated] (ZOOKEEPER-2064) Prevent resource leak in various
classes
[ https://issues.apache.org/jira/browse/ZOOKEEPER-2064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ted Yu updated ZOOKEEPER-2064:
------------------------------
Attachment: 2064-v1.txt
Tentative patch.
> Prevent resource leak in various classes
> ----------------------------------------
>
> Key: ZOOKEEPER-2064
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2064
> Project: ZooKeeper
> Issue Type: Bug
> Reporter: Ted Yu
> Attachments: 2064-v1.txt
>
>
> In various classes, there is potential resource leak.
> e.g. LogIterator / RandomAccessFileReader is not closed upon return from the method.
> Corresponding close() should be called to prevent resource leak.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)