Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
b1d245d9
Commit
b1d245d9
authored
Mar 16, 2003
by
Kurt Zeilenga
Browse files
SLAP_NVALUES: fix extraneous free bug.
parent
e3b1020e
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/schema_init.c
View file @
b1d245d9
...
...
@@ -1888,7 +1888,9 @@ caseExactIgnoreSubstringsFilter
if
(
sa
->
sa_final
.
bv_val
)
free
(
sa
->
sa_final
.
bv_val
);
if
(
sa
->
sa_any
)
ber_bvarray_free
(
sa
->
sa_any
);
if
(
sa
->
sa_initial
.
bv_val
)
free
(
sa
->
sa_initial
.
bv_val
);
#ifndef SLAP_NVALUES
ch_free
(
sa
);
#endif
*
keysp
=
NULL
;
return
LDAP_SUCCESS
;
}
...
...
@@ -2003,7 +2005,9 @@ caseExactIgnoreSubstringsFilter
if
(
sa
->
sa_final
.
bv_val
)
free
(
sa
->
sa_final
.
bv_val
);
if
(
sa
->
sa_any
)
ber_bvarray_free
(
sa
->
sa_any
);
if
(
sa
->
sa_initial
.
bv_val
)
free
(
sa
->
sa_initial
.
bv_val
);
#ifndef SLAP_NVALUES
ch_free
(
sa
);
#endif
return
LDAP_SUCCESS
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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