In DN_SUBTREE use idl_allids instead of explicit malloc.

This commit is contained in:
Howard Chu 2002-01-14 11:52:53 +00:00
parent 7887ef7e92
commit f91d5f484a

View file

@ -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;
}