From: Howard Chu Date: Thu, 27 Apr 2006 02:29:13 +0000 (+0000) Subject: Cleanup close X-Git-Tag: OPENLDAP_REL_ENG_2_4_1ALPHA~2^2~131 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2cd781eae3274aa0ed7bec541f5e2f3cfd2f3882;p=openldap Cleanup close --- 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); }