Diff for /servers/slapd/back-ldap/chain.c between versions 1.51 and 1.52

version 1.51, 2006/03/26 22:31:38 version 1.52, 2006/04/02 21:47:13
Line 1 Line 1
 /* chain.c - chain LDAP operations */  /* chain.c - chain LDAP operations */
 /* $OpenLDAP: pkg/ldap/servers/slapd/back-ldap/chain.c,v 1.50 2006/03/24 21:49:51 ando Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/back-ldap/chain.c,v 1.51 2006/03/26 22:31:38 ando Exp $ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.  /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *   *
  * Copyright 2003-2006 The OpenLDAP Foundation.   * Copyright 2003-2006 The OpenLDAP Foundation.
Line 1284  ldap_chain_db_init( Line 1284  ldap_chain_db_init(
                 return 1;                  return 1;
         }          }
         memset( lc, 0, sizeof( ldap_chain_t ) );          memset( lc, 0, sizeof( ldap_chain_t ) );
           ldap_pvt_thread_mutex_init( &lc->lc_lai.lai_mutex );
   
         on->on_bi.bi_private = (void *)lc;          on->on_bi.bi_private = (void *)lc;
   
Line 1533  ldap_chain_db_destroy( Line 1534  ldap_chain_db_destroy(
   
         if ( lc ) {          if ( lc ) {
                 avl_free( lc->lc_lai.lai_tree, NULL );                  avl_free( lc->lc_lai.lai_tree, NULL );
                   ldap_pvt_thread_mutex_destroy( &lc->lc_lai.lai_mutex );
                 ch_free( lc );                  ch_free( lc );
         }          }
   

Removed from v.1.51  
changed lines
  Added in v.1.52


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