Github user enixon commented on the issue:
https://github.com/apache/zookeeper/pull/628
@anmolnar the error in the C-client tests is:
*** Error in `./zktest-mt': free(): invalid pointer: 0x00002b971c71e000 ***
Not sure if its the same issue as you're seeking to patch.---
