From: Howard Chu Date: Mon, 6 May 2002 16:51:00 +0000 (+0000) Subject: ITS#1803, bogus free() of lber-private memory. X-Git-Tag: OPENLDAP_REL_ENG_2_MP~90 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a039bd97ea775aef7da16f71bd75467890ec92ec;p=openldap ITS#1803, bogus free() of lber-private memory. --- diff --git a/servers/slapd/add.c b/servers/slapd/add.c index 3c5c66a9dd..3d308ea8c1 100644 --- a/servers/slapd/add.c +++ b/servers/slapd/add.c @@ -137,7 +137,6 @@ do_add( Connection *conn, Operation *op ) #endif send_ldap_result( conn, op, rc = LDAP_PROTOCOL_ERROR, NULL, "no values for attribute type", NULL, NULL ); - free( tmp.sml_type.bv_val ); goto done; } mod = (Modifications *) ch_malloc( sizeof(Modifications) );