[Date Prev][Date Next]
Re: Memory leak in ldap_initialize()
On Tue, Aug 13, 2002 at 05:53:17PM +0200, Yves Robin wrote:
% I'm facing a memory leak just when trying to bind and unbind to an
% openldap server. Since ldap_initialize allocate a new ld structure, unbind
% is supposed to free it, right ? Since ldap_initialize is not documented
% (right?), it's difficult to be sure...
% I'm using openldap 2.0.11 library.
% Anything wrong with that ?
% Should i free somehow else ?
There was a leak in the OpenLDAP libraries in this case; I believe it was
fixed in 2.0.19.
John Morrissey _o /\ ---- __o
firstname.lastname@example.org _-< \_ / \ ---- < \,
www.horde.net/ __(_)/_(_)________/ \_______(_) /_(_)__