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:21 -0400 |
commit | d7e3a3704d22e69f01214873a7207b4fc760d3f3 (patch) | |
tree | 92d6fc43e2a9e458f2b63cf38711101567268423 /contrib | |
parent | 61ab73554e03a2eea4ef51bc5ef02676632eaf6a (diff) | |
download | sssd-d7e3a3704d22e69f01214873a7207b4fc760d3f3.tar.gz sssd-d7e3a3704d22e69f01214873a7207b4fc760d3f3.tar.bz2 sssd-d7e3a3704d22e69f01214873a7207b4fc760d3f3.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 'contrib')
0 files changed, 0 insertions, 0 deletions