mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-18 21:04:45 -05:00
Minor cleanup, no need to zero fields in calloc'd memory
This commit is contained in:
parent
1e7ca2e850
commit
2367a31872
1 changed files with 0 additions and 6 deletions
|
|
@ -81,12 +81,6 @@ do_add( Connection *conn, Operation *op )
|
|||
}
|
||||
|
||||
e = (Entry *) ch_calloc( 1, sizeof(Entry) );
|
||||
e->e_name.bv_val = NULL;
|
||||
e->e_name.bv_len = 0;
|
||||
e->e_nname.bv_val = NULL;
|
||||
e->e_nname.bv_len = 0;
|
||||
e->e_attrs = NULL;
|
||||
e->e_private = NULL;
|
||||
|
||||
rc = dnPrettyNormal( NULL, &dn, &e->e_name, &e->e_nname );
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue