From: Pierangelo Masarati Date: Thu, 3 Apr 2003 21:40:04 +0000 (+0000) Subject: safe defaults X-Git-Tag: AUTOCONF_2_57~98 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e8c264b1f6c421bef9212e471923283bd2d751a8;p=openldap safe defaults --- diff --git a/servers/slapd/bind.c b/servers/slapd/bind.c index 1348e46e8a..0eea2b823f 100644 --- a/servers/slapd/bind.c +++ b/servers/slapd/bind.c @@ -650,9 +650,11 @@ cleanup: if( op->o_req_dn.bv_val != NULL ) { free( op->o_req_dn.bv_val ); + op->o_req_dn.bv_val = NULL; } if( op->o_req_ndn.bv_val != NULL ) { free( op->o_req_ndn.bv_val ); + op->o_req_ndn.bv_val = NULL; } return rs->sr_err;