From 5b7f996566c96ef8eb754fcdbe867f0201933c17 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 20 Aug 2005 19:50:59 +0000 Subject: [PATCH] cleanup --- servers/slapd/overlays/retcode.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.39.5