]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/operation.c
Switch to openldap-data
[openldap] / servers / slapd / operation.c
index 859a88acee99a33ee6dbe50449693835c71e7336..aee5ef9b5560b95f961d4419101d3c9d92024469 100644 (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 );