From 2cd781eae3274aa0ed7bec541f5e2f3cfd2f3882 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 27 Apr 2006 02:29:13 +0000 Subject: [PATCH] Cleanup close --- servers/slapd/overlays/refint.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/servers/slapd/overlays/refint.c b/servers/slapd/overlays/refint.c index e1f501413d..013f3d03ac 100644 --- a/servers/slapd/overlays/refint.c +++ b/servers/slapd/overlays/refint.c @@ -308,9 +308,7 @@ refint_close( ch_free(id->nothing.bv_val); ch_free(id->nnothing.bv_val); - on->on_bi.bi_private = NULL; /* XXX */ - - ch_free(id); + memset( id, 0, sizeof(*id)); return(0); } -- 2.39.5