]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/operation.c
Add missing semicolon.
[openldap] / servers / slapd / operation.c
index ddad7b90646c6ee08fa23cb3ed020aa1886480e0..4ca92d801b7ac8a5b48242b4fcf97f1c23d167cb 100644 (file)
@@ -27,6 +27,9 @@ slap_op_free( Operation *op )
        if ( op->o_authmech != NULL ) {
                free( op->o_authmech );
        }
+       if ( op->o_ctrls != NULL ) {
+               ldap_controls_free( op->o_ctrls );
+       }
 
        ldap_pvt_thread_mutex_destroy( &op->o_abandonmutex );
 
@@ -55,6 +58,7 @@ slap_op_alloc(
        op->o_dn = NULL;
        op->o_ndn = NULL;
        op->o_authmech = NULL;
+       op->o_ctrls = NULL;
 
        op->o_time = slap_get_time();
        op->o_opid = id;