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

Dave Gosselin commented on ZOOKEEPER-2073:
------------------------------------------

If I'm not mistaken, I don't think that there are any other places that need to 
be fixed.  It seems that in codepaths where bptr is not freed, it is assigned 
as the buffer in a completion list.

> Memory leak on zookeeper_close
> ------------------------------
>
>                 Key: ZOOKEEPER-2073
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2073
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: c client
>    Affects Versions: 3.6.0
>            Reporter: Dave Gosselin
>            Priority: Critical
>             Fix For: 3.6.0
>
>         Attachments: ZOOKEEPER-2073.patch
>
>
> When running valgrind against a zookeeper client using the C API, I noticed 
> an occasional memory leak on zookeeper_close.  I traced the issue to a 
> regression added by fix ZOOKEEPER-804.  The attached patch fixes the 
> regression and the associated memory leak.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to