Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 May 2006 12:16:34 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 96652 for review
Message-ID:  <200605041216.k44CGY9g090588@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=96652

Change 96652 by rwatson@rwatson_zoo on 2006/05/04 12:16:22

	Consistently use audit_free() to free records, rather than
	directly invoking uma_zfree().

Affected files ...

.. //depot/projects/trustedbsd/audit3/sys/security/audit/audit.c#26 edit

Differences ...

==== //depot/projects/trustedbsd/audit3/sys/security/audit/audit.c#26 (text+ko) ====

@@ -390,7 +390,7 @@
 		mtx_lock(&audit_mtx);
 		audit_pre_q_len--;
 		mtx_unlock(&audit_mtx);
-		uma_zfree(audit_record_zone, ar);
+		audit_free(ar);
 		return;
 	}
 
@@ -416,7 +416,7 @@
 	if (audit_suspended || !audit_enabled) {
 		audit_pre_q_len--;
 		mtx_unlock(&audit_mtx);
-		uma_zfree(audit_record_zone, ar);
+		audit_free(ar);
 		return;
 	}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605041216.k44CGY9g090588>