[
https://issues.apache.org/jira/browse/ZOOKEEPER-1985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
desmondhe updated ZOOKEEPER-1985:
---------------------------------
Attachment: ZOOKEEPER-1985_v2.patch
I found the instructions on the webpage, but I can't use svn or github in my
environment net. sorry to reply so late due to the weekend.
this is the patch within topsrc path, hope it works.
thks!
> 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: Minor
> Fix For: 3.4.7, 3.5.0
>
> Attachments: ZOOKEEPER-1985_v2.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.2#6252)