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
f91d5f48
Commit
f91d5f48
authored
Jan 14, 2002
by
Howard Chu
Browse files
In DN_SUBTREE use idl_allids instead of explicit malloc.
parent
7887ef7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/back-ldbm/dn2id.c
View file @
f91d5f48
...
...
@@ -227,9 +227,7 @@ dn2idl(
*
idlp
=
NULL
;
if
(
prefix
==
DN_SUBTREE_PREFIX
&&
be_issuffix
(
be
,
dn
->
bv_val
)
)
{
*
idlp
=
ch_malloc
(
2
*
sizeof
(
ID
)
);
(
*
idlp
)[
0
]
=
ID_BLOCK_ALLIDS_VALUE
;
(
*
idlp
)[
1
]
=
0
;
*
idlp
=
idl_allids
(
be
);
return
0
;
}
...
...
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