--On Wednesday, February 26, 2014 6:15 PM +0000 kevpatt@khptech.com wrote:
Full_Name: Kevin H. Patterson Version: git master HEAD OS: macosx 10.9.1 URL: http://campus.hartland.edu/temp/0001-fixed-memory-leak-in-LDAPAsynConnect ion.cpp.patch Submission from: (NULL) (65.207.4.130)
In libldapcpp, there is a memory leak in the LDAPAsynConnection class. ldap_initialize() allocates memory which is never freed. This memory (ld structure) should be freed by a call to ldap_unbind() in the class destructor and other places where the ld structure is replaced with a new one.
I have included a patch against git master HEAD below.
According to a ldap c++ user, this patch causes code to segv. Please see https://www.openldap.org/its/private.cgi/?findid=8143
--Quanah
--
Quanah Gibson-Mount Platform Architect Zimbra, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration