]> git.sur5r.net Git - openldap/commitdiff
ITS#1803, bogus free() of lber-private memory.
authorHoward Chu <hyc@openldap.org>
Mon, 6 May 2002 16:51:00 +0000 (16:51 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 6 May 2002 16:51:00 +0000 (16:51 +0000)
servers/slapd/add.c

index 3c5c66a9ddfc54b760b424ca9ed11c0433830bae..3d308ea8c19a66ab3c9496358a49040d334cc159 100644 (file)
@@ -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) );