mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
make sure data is reset
This commit is contained in:
parent
6059ffaa00
commit
15c8ad1f46
@ -209,7 +209,7 @@ rwm_map_attrnames(
|
||||
}
|
||||
|
||||
assert( i > 0 || x > 0 );
|
||||
*anp = op->o_tmpalloc( ( i + x + 1 )* sizeof( AttributeName ),
|
||||
*anp = op->o_tmpcalloc( ( i + x + 1 ), sizeof( AttributeName ),
|
||||
op->o_tmpmemctx );
|
||||
if ( *anp == NULL ) {
|
||||
return LDAP_NO_MEMORY;
|
||||
|
Loading…
Reference in New Issue
Block a user