From: Pierangelo Masarati Date: Sat, 20 Aug 2005 19:50:59 +0000 (+0000) Subject: cleanup X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~634 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5b7f996566c96ef8eb754fcdbe867f0201933c17;p=openldap cleanup --- diff --git a/servers/slapd/overlays/retcode.c b/servers/slapd/overlays/retcode.c index 23aa26164f..25e12d366f 100644 --- a/servers/slapd/overlays/retcode.c +++ b/servers/slapd/overlays/retcode.c @@ -404,6 +404,7 @@ retcode_op_func( Operation *op, SlapReply *rs ) send_ldap_result( op, rs ); if ( rs->sr_ref != NULL ) { ber_bvarray_free( rs->sr_ref ); + rs->sr_ref = NULL; } rs->sr_matched = NULL; rs->sr_text = NULL;