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

Michael Han commented on ZOOKEEPER-2882:
----------------------------------------

Looks like you did not have autoconf installed, which is required to run C 
client / unit tests. We don't have terribly good document on c client regarding 
set up dev env, but this link was what I followed and found useful: 
http://wiki.wsmoak.net/cgi-bin/wiki.pl?action=browse&diff=1&id=ZooKeeperBuild. 
If you are on other systems the steps should be similar....

> memory leak in zoo_amulti() function
> ------------------------------------
>
>                 Key: ZOOKEEPER-2882
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2882
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>            Reporter: guoxiang niu
>            Assignee: guoxiang niu
>            Priority: Minor
>
> when default branch is executed in switch(op->type) , alloced memory for oa 
> variable will leak, so, close_buffer_oarchive(&oa, 1); should be called 
> before returning in default branch.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to