GitHub user xoiss opened a pull request: https://github.com/apache/zookeeper/pull/363
branch-3.4 -- bugfix -- ZOOKEEPER-2894 Fixes https://issues.apache.org/jira/browse/ZOOKEEPER-2894 You can merge this pull request into a Git repository by running: $ git pull https://github.com/xoiss/zookeeper branch-3.4-bugfix-zookeeper-2894 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/zookeeper/pull/363.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #363 ---- commit ba56555b39edacd3be75ad0b07cc7ce86861be16 Author: xoiss <xoiss@ubuntu> Date: 2017-09-08T12:49:06Z ZOOKEEPER-2894 - fix memory and completion leak on zookeeper_close. ---- ---