restore code in search_cleanup to free ctrls

This commit is contained in:
Howard Chu 2004-12-07 02:58:33 +00:00
parent c607449cd0
commit bc09291b81

View File

@ -1256,13 +1256,11 @@ typedef struct searchstate {
static int
syncprov_search_cleanup( Operation *op, SlapReply *rs )
{
#if 0
if ( rs->sr_ctrls ) {
free( rs->sr_ctrls[0] );
op->o_tmpfree( rs->sr_ctrls[0], op->o_tmpmemctx );
op->o_tmpfree( rs->sr_ctrls, op->o_tmpmemctx );
rs->sr_ctrls = NULL;
}
#endif
return 0;
}