summaryrefslogtreecommitdiffstats
path: root/sys/security/audit/audit.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/security/audit/audit.c')
-rw-r--r--sys/security/audit/audit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/security/audit/audit.c b/sys/security/audit/audit.c
index d61bb99..7465543 100644
--- a/sys/security/audit/audit.c
+++ b/sys/security/audit/audit.c
@@ -395,7 +395,7 @@ audit_commit(struct kaudit_record *ar, int error, int retval)
mtx_lock(&audit_mtx);
audit_pre_q_len--;
mtx_unlock(&audit_mtx);
- uma_zfree(audit_record_zone, ar);
+ audit_free(ar);
return;
}
@@ -421,7 +421,7 @@ audit_commit(struct kaudit_record *ar, int error, int retval)
if (audit_suspended || !audit_enabled) {
audit_pre_q_len--;
mtx_unlock(&audit_mtx);
- uma_zfree(audit_record_zone, ar);
+ audit_free(ar);
return;
}
OpenPOWER on IntegriCloud