From: Howard Chu Date: Thu, 23 Oct 2003 01:30:54 +0000 (+0000) Subject: (clean up o_groups anyway) X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~496 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b0a1f2e956e39f432f128df922f7b70ff26dc09f;p=openldap (clean up o_groups anyway) --- 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 ) {