Re: Do I need to ldap_memfree after ldap_get_lderrno? SDK docs say yes.

"Matthew M. DeLoera" <[email protected]> Thu, 27 Aug 2009 13:04:36 -0400
Newsgroups gmane.comp.mozilla.devel.directory
Message-ID <[email protected]>
Sure!  From the URL you mentioned:

http://www.mozilla.org/directory/csdk-docs/function.htm#get-lderrno

The "Getting Information About the Error" link (3 lines down) goes to:

http://www.mozilla.org/directory/csdk-docs/using.htm#get_info_error

Then, just scroll down the page to code example 5-6.

Regards,
- Matthew


>> Hi Rich! Yes - code example 5-6:
>>
>> - Go to chapter 18 (function reference).
>> - Jump to ldap_get_lderrno().
>> - Jump to "Getting Information About the Error".
>> - Scroll down the page to Code Example 5-6. ldap_memfree() is being 
>> called on the error message pointer.
>>
>
> I don't see that.  I'm looking here - 
> http://www.mozilla.org/directory/csdk-docs/function.htm#get-lderrno
>
> Can you post the URL you are referencing?
>
>> Thanks for the summary of intent. That helps me a lot! :)
>>
>> Regards,
>> - Matthew
>>
> _______________________________________________
> dev-tech-ldap mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-tech-ldap