Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Lukas However
OpenLDAP
Commits
60ac3f35
Commit
60ac3f35
authored
Mar 28, 2003
by
Howard Chu
Browse files
ITS#2409 - fix oidm_destroy
parent
9f5163e6
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/oidm.c
View file @
60ac3f35
...
...
@@ -72,21 +72,16 @@ oidm_find(char *oid)
void
oidm_destroy
()
{
#ifdef SLAP_NVALUES
/* FIXME: this causes a malloc debug error */
#else
OidMacro
*
om
;
while
(
!
LDAP_SLIST_EMPTY
(
&
om_list
))
{
om
=
LDAP_SLIST_FIRST
(
&
om_list
);
LDAP_SLIST_REMOVE_HEAD
(
&
om_list
,
som_next
);
ldap_charray_free
(
om
->
som_names
);
free
(
om
->
som_oid
.
bv_val
);
free
(
om
);
LDAP_SLIST_REMOVE_HEAD
(
&
om_list
,
som_next
);
}
#endif
}
int
...
...
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