Commit f91d5f48 authored by Howard Chu's avatar Howard Chu
Browse files

In DN_SUBTREE use idl_allids instead of explicit malloc.

parent 7887ef7e
......@@ -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;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment