Diff for /libraries/libldap/result.c between versions 1.109 and 1.110

version 1.109, 2005/08/01 21:35:44 version 1.110, 2005/08/03 14:54:08
Line 1 Line 1
 /* result.c - wait for an ldap result */  /* result.c - wait for an ldap result */
 /* $OpenLDAP: pkg/ldap/libraries/libldap/result.c,v 1.108 2005/07/30 14:26:25 ando Exp $ */  /* $OpenLDAP: pkg/ldap/libraries/libldap/result.c,v 1.109 2005/08/01 21:35:44 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 1998-2005 The OpenLDAP Foundation.   * Copyright 1998-2005 The OpenLDAP Foundation.
Line 749  lr->lr_res_matched ? lr->lr_res_matched Line 749  lr->lr_res_matched ? lr->lr_res_matched
                         }                          }
   
                         if ( lc != NULL ) {                          if ( lc != NULL ) {
   #ifdef LDAP_R_COMPILE
                                   ldap_pvt_thread_mutex_lock( &ld->ld_req_mutex );
   #endif
                                 ldap_free_connection( ld, lc, 0, 1 );                                  ldap_free_connection( ld, lc, 0, 1 );
   #ifdef LDAP_R_COMPILE
                                   ldap_pvt_thread_mutex_unlock( &ld->ld_req_mutex );
   #endif
                                 *lcp = NULL;                                  *lcp = NULL;
                         }                          }
                 }                  }

Removed from v.1.109  
changed lines
  Added in v.1.110


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