Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
a21cf985
Commit
a21cf985
authored
Apr 21, 2021
by
Howard Chu
Committed by
Quanah Gibson-Mount
Apr 30, 2021
Browse files
ITS
#9530
ldo_defbase now must be freed in ldap_ld_free()
parent
e03a00ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
libraries/libldap/unbind.c
View file @
a21cf985
...
@@ -192,6 +192,11 @@ ldap_ld_free(
...
@@ -192,6 +192,11 @@ ldap_ld_free(
}
}
#endif
#endif
if
(
ld
->
ld_options
.
ldo_defbase
!=
NULL
)
{
LDAP_FREE
(
ld
->
ld_options
.
ldo_defbase
);
ld
->
ld_options
.
ldo_defbase
=
NULL
;
}
#ifdef HAVE_CYRUS_SASL
#ifdef HAVE_CYRUS_SASL
if
(
ld
->
ld_options
.
ldo_def_sasl_mech
!=
NULL
)
{
if
(
ld
->
ld_options
.
ldo_def_sasl_mech
!=
NULL
)
{
LDAP_FREE
(
ld
->
ld_options
.
ldo_def_sasl_mech
);
LDAP_FREE
(
ld
->
ld_options
.
ldo_def_sasl_mech
);
...
...
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