Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
f5b815b1
Commit
f5b815b1
authored
Apr 13, 2006
by
Howard Chu
Browse files
ITS#4489 fix slap_tls_ld cleanup
parent
bd8514fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/main.c
View file @
f5b815b1
...
...
@@ -963,8 +963,10 @@ stop:
/* Setting it to itself decreases refcount, allowing it to be freed
* when the LD is freed.
*/
ldap_pvt_tls_set_option
(
slap_tls_ld
,
LDAP_OPT_X_TLS_CTX
,
slap_tls_ctx
);
ldap_ld_free
(
slap_tls_ld
,
0
,
NULL
,
NULL
);
if
(
slap_tls_ld
)
{
ldap_pvt_tls_set_option
(
slap_tls_ld
,
LDAP_OPT_X_TLS_CTX
,
slap_tls_ctx
);
ldap_unbind
(
slap_tls_ld
);
}
ldap_pvt_tls_destroy
();
#endif
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment