From b0a1f2e956e39f432f128df922f7b70ff26dc09f Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 23 Oct 2003 01:30:54 +0000 Subject: [PATCH] (clean up o_groups anyway) --- servers/slapd/operation.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/servers/slapd/operation.c b/servers/slapd/operation.c index 2941bc0301..cb08e60eee 100644 --- a/servers/slapd/operation.c +++ b/servers/slapd/operation.c @@ -69,16 +69,14 @@ slap_op_free( Operation *op ) free( op->o_sync_state.bv_val ); } -#if 0 /* needless, since it was allocated in tmpmem */ { GroupAssertion *g, *n; for (g = op->o_groups; g; g=n) { n = g->ga_next; - free(g); + sl_free(g, op->o_tmpmemctx); } op->o_groups = NULL; } -#endif #if defined( LDAP_SLAPI ) if ( op->o_pb != NULL ) { -- 2.39.5