Diff for /servers/slapd/saslauthz.c between versions 1.144 and 1.144.2.1

version 1.144, 2004/12/08 18:09:54 version 1.144.2.1, 2005/01/20 18:03:56
Line 1 Line 1
 /* $OpenLDAP: pkg/ldap/servers/slapd/saslauthz.c,v 1.143 2004/11/25 21:59:01 hyc Exp $ */  /* $OpenLDAP: pkg/ldap/servers/slapd/saslauthz.c,v 1.144 2004/12/08 18:09:54 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-2004 The OpenLDAP Foundation.   * Copyright 1998-2005 The OpenLDAP Foundation.
  * Portions Copyright 2000 Mark Adamson, Carnegie Mellon.   * Portions Copyright 2000 Mark Adamson, Carnegie Mellon.
  * All rights reserved.   * All rights reserved.
  *   *
Line 700  static int slap_authz_regexp( struct ber Line 700  static int slap_authz_regexp( struct ber
                 if ( !BER_BVISNULL( out ) ) {                  if ( !BER_BVISNULL( out ) ) {
                         char *val = out->bv_val;                          char *val = out->bv_val;
                         ber_str2bv_x( val, 0, 1, out, ctx );                          ber_str2bv_x( val, 0, 1, out, ctx );
                         free( val );                          if ( val != in->bv_val ) {
                                   free( val );
                           }
                 } else {                  } else {
                         ber_dupbv_x( out, in, ctx );                          ber_dupbv_x( out, in, ctx );
                 }                  }

Removed from v.1.144  
changed lines
  Added in v.1.144.2.1


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