mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05:00
make sure data is reset
This commit is contained in:
parent
6059ffaa00
commit
15c8ad1f46
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue