From 2367a318725c75312436873f31be458a1a201d23 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 25 Jan 2002 07:07:55 +0000 Subject: [PATCH] Minor cleanup, no need to zero fields in calloc'd memory --- servers/slapd/add.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/servers/slapd/add.c b/servers/slapd/add.c index 01e46267c2..328f294137 100644 --- a/servers/slapd/add.c +++ b/servers/slapd/add.c @@ -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 );