Re: Advice on bug 282320 - Memory leak in ldap_simple_bind_s

"Matthew M. DeLoera" <[email protected]> Fri, 05 Feb 2010 11:18:36 -0500
Newsgroups gmane.comp.mozilla.devel.directory
Message-ID <[email protected]>
Sorry to not have responded..... I went ahead and did as you described, 
and all is well. Thanks!


Mark Smith wrote:
> Matthew M. DeLoera wrote:
>> Oops... what I meant to ask was whether I could just override 
>> individual routine pairs (i.e. ltf_get_lderrno/ltf_set_lderrno) or if 
>> I have to do the whole set?
>
> If you are not accessing the same LDAP * handle from more than one 
> thread at a time, I recommend clearing all of the default thread 
> functions as described here:
>
>   https://bugzilla.mozilla.org/show_bug.cgi?id=282320#c4
>
> Why do you think you need the other thread functions but not 
> ltf_get_lderrno/ltf_set_lderrno?
>