Skip to content
Snippets Groups Projects
Commit 2367a318 authored by Howard Chu's avatar Howard Chu
Browse files

Minor cleanup, no need to zero fields in calloc'd memory

parent 1e7ca2e8
Branches
Tags
No related merge requests found
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment