Diff for /servers/slapd/connection.c between versions 1.229 and 1.230

version 1.229, 2003/05/24 23:32:39 version 1.230, 2003/05/28 20:17:08
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/servers/slapd/connection.c,v 1.228 2003/05/20 18:21:39 jongchoi Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/connection.c,v 1.229 2003/05/24 23:32:39 hyc Exp $ */
 /*  /*
  * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.   * Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file   * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
Line 934  connection_operation( void *ctx, void *a Line 934  connection_operation( void *ctx, void *a
                  * regular memory; this only affects subsequent mallocs that                   * regular memory; this only affects subsequent mallocs that
                  * ber_scanf may invoke.                   * ber_scanf may invoke.
                  */                   */
                 ber_set_option( op->o_ber, LBER_OPT_BER_MEMCTX, memctx );                  ber_set_option( op->o_ber, LBER_OPT_BER_MEMCTX, &memctx );
         }          }
   
         switch ( tag ) {          switch ( tag ) {
Line 1088  operations_error: Line 1088  operations_error:
   
 co_op_free:  co_op_free:
   
         ber_set_option( op->o_ber, LBER_OPT_BER_MEMCTX, NULL );          memctx = NULL;
           ber_set_option( op->o_ber, LBER_OPT_BER_MEMCTX, &memctx );
         slap_op_free( op );          slap_op_free( op );
   
 no_co_op_free:  no_co_op_free:

Removed from v.1.229  
changed lines
  Added in v.1.230


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