zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael K. Edwards (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-1985) Memory leak in C client
Date Thu, 22 Nov 2018 02:18:00 GMT

    [ https://issues.apache.org/jira/browse/ZOOKEEPER-1985?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16695484#comment-16695484
] 

Michael K. Edwards commented on ZOOKEEPER-1985:
-----------------------------------------------

Fixable for 3.5.5?

> Memory leak in C client
> -----------------------
>
>                 Key: ZOOKEEPER-1985
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1985
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.4.6
>            Reporter: desmondhe
>            Assignee: desmondhe
>            Priority: Major
>             Fix For: 3.6.0, 3.5.5
>
>         Attachments: ZOOKEEPER-1985.patch
>
>
> in the file zookeeper.c, most function call of "close_buffer_oarchive(&oa, 0)" shoud
been instead by 
> close_buffer_oarchive(&oa, rc < 0 ? 1 : 0); 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message