Diff for /servers/slapd/overlays/syncprov.c between versions 1.40 and 1.41

version 1.40, 2004/12/07 01:20:15 version 1.41, 2004/12/07 01:58:33
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.39 2004/12/06 19:32:53 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/overlays/syncprov.c,v 1.40 2004/12/07 01:20:15 hyc Exp $ */
 /* syncprov.c - syncrepl provider */  /* syncprov.c - syncrepl provider */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
Line 1256  typedef struct searchstate { Line 1256  typedef struct searchstate {
 static int  static int
 syncprov_search_cleanup( Operation *op, SlapReply *rs )  syncprov_search_cleanup( Operation *op, SlapReply *rs )
 {  {
 #if 0  
         if ( rs->sr_ctrls ) {          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 );                  op->o_tmpfree( rs->sr_ctrls, op->o_tmpmemctx );
                 rs->sr_ctrls = NULL;                  rs->sr_ctrls = NULL;
         }          }
 #endif  
         return 0;          return 0;
 }  }
   

Removed from v.1.40  
changed lines
  Added in v.1.41


______________
© Copyright 1998-2020, OpenLDAP Foundation, info@OpenLDAP.org