]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/operation.c
add Time subsystem
[openldap] / servers / slapd / operation.c
index 67f31c5c74e5cc5037cfc41036095dc78f6b2c76..aee5ef9b5560b95f961d4419101d3c9d92024469 100644 (file)
@@ -1,7 +1,7 @@
 /* operation.c - routines to deal with pending ldap operations */
 /* $OpenLDAP$ */
 /*
- * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */
 
@@ -29,8 +29,8 @@ slap_op_free( Operation *op )
        if ( op->o_ndn.bv_val != NULL ) {
                free( op->o_ndn.bv_val );
        }
-       if ( op->o_authmech != NULL ) {
-               free( op->o_authmech );
+       if ( op->o_authmech.bv_val != NULL ) {
+               free( op->o_authmech.bv_val );
        }
        if ( op->o_ctrls != NULL ) {
                ldap_controls_free( op->o_ctrls );