summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 761f0ea)
raw | patch | inline | side by side (parent: 761f0ea)
author | Marc Fournier <marc.fournier@camptocamp.com> | |
Mon, 30 Jun 2014 14:42:54 +0000 (16:42 +0200) | ||
committer | Marc Fournier <marc.fournier@camptocamp.com> | |
Fri, 29 Aug 2014 13:09:18 +0000 (15:09 +0200) |
src/openldap.c | patch | blob | history |
diff --git a/src/openldap.c b/src/openldap.c
index 166dcec34ff2781c509b13980834b95bd02de8e9..f284a19106d5578a726b6c48e159ab25feea9e5a 100644 (file)
--- a/src/openldap.c
+++ b/src/openldap.c
ERROR ("openldap plugin: Failed to start tls on %s: %s",
st->url, ldap_err2string (rc));
st->state = 0;
+ ldap_destroy(st->ld);
return (-1);
}
}
ERROR ("openldap plugin: Failed to bind to %s: %s",
st->url, ldap_err2string (rc));
st->state = 0;
+ ldap_destroy(st->ld);
return (-1);
}
else