On Fri, 2012-03-23 at 13:55 +0100, Jan Zelený wrote:
> We were never freeing "result" if it was allocated by
> ldap_result(). We were also not freeing "errmsg" if it was
> allocated but ldap_parse_result() returned an error.
>
> Also disambiguate error messages from ldap_parse_result() and
> error messages from sss_ldap_get_diagnostic_msg() since they use
> differing memory-management functions.
Ack,
I didn't manage to trigger the routine so only sanity check performed, the
code is ok.
Pushed to master and sssd-1-8.