diff options
author | Stephen Gallagher <sgallagh@redhat.com> | 2012-03-23 07:40:41 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-03-26 20:17:34 -0400 |
commit | 5cbc9c54df1165ded8c2b6991c589906fdb96833 (patch) | |
tree | 2286456a04f65128e755094c5de6be353596d8dd /src/providers/fail_over.c | |
parent | c17a91ef5853603cc64ab2916cf1c8cc278fc159 (diff) | |
download | sssd_unused-5cbc9c54df1165ded8c2b6991c589906fdb96833.tar.gz sssd_unused-5cbc9c54df1165ded8c2b6991c589906fdb96833.tar.xz sssd_unused-5cbc9c54df1165ded8c2b6991c589906fdb96833.zip |
LDAP: Fix memory leaks in synchronous_tls_setup
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.
Diffstat (limited to 'src/providers/fail_over.c')
0 files changed, 0 insertions, 0 deletions