zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Han (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-1985) Memory leak in C client
Date Mon, 21 Aug 2017 23:23:00 GMT

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

Michael Han commented on ZOOKEEPER-1985:
----------------------------------------

I think this is an important issue to fix.

[~desmondhe] Not sure if you are still working on this since it's been three years since you
filed the issue, but just checking - will you be able to update the patch (if needed) and
create a pull request to zookeeper git repo? See https://cwiki.apache.org/confluence/display/ZOOKEEPER/HowToContribute
for more details on how to create pull request etc.

> 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: Critical
>             Fix For: 3.5.4, 3.6.0
>
>         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
(v6.4.14#64029)

Mime
View raw message