From: Luke Howard Date: Sat, 30 Jul 2005 08:19:26 +0000 (+0000) Subject: slapi_add_internal_pb() should not set op->ora_e, this is done by frontend X-Git-Tag: OPENLDAP_AC_BP~151 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=98e49eca60d1b10c4caf133261a989f5dad621b1;p=openldap slapi_add_internal_pb() should not set op->ora_e, this is done by frontend --- diff --git a/servers/slapd/slapi/slapi_ops.c b/servers/slapd/slapi/slapi_ops.c index 7ad05b1c49..08cb56faeb 100644 --- a/servers/slapd/slapi/slapi_ops.c +++ b/servers/slapd/slapi/slapi_ops.c @@ -446,10 +446,6 @@ slapi_add_internal_pb( Slapi_PBlock *pb ) * The caller can specify a new entry, or a target DN and set * of modifications, but not both. */ - pb->pb_op->ora_e = (Entry *)slapi_ch_calloc( 1, sizeof(Entry) ); - ber_dupbv( &pb->pb_op->ora_e->e_name, &pb->pb_op->o_req_dn ); - ber_dupbv( &pb->pb_op->ora_e->e_nname, &pb->pb_op->o_req_ndn ); - if ( entry_orig != NULL ) { assert( pb->pb_op->ora_modlist == NULL );