Skip to content
Snippets Groups Projects
Commit a68e2616 authored by Pierangelo Masarati's avatar Pierangelo Masarati Committed by Quanah Gibson-Mount
Browse files

make sure data is reset

parent a6cb0cfe
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment