You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "desmondhe (JIRA)" <ji...@apache.org> on 2014/07/23 04:24:41 UTC
[jira] [Updated] (ZOOKEEPER-1985) Memory leak in C client
[ https://issues.apache.org/jira/browse/ZOOKEEPER-1985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
desmondhe updated ZOOKEEPER-1985:
---------------------------------
Description:
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);
was:
in the file zookeeper.c, most function call of "close_buffer_oarchive(&oa, 0)" shoud been instead by
close_buffer_oarchive(&oa, rc);
> 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
> Priority: Minor
>
> 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)