PERFORCE change 96652 for review

Robert Watson rwatson at FreeBSD.org
Thu May 4 12:16:35 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=96652

Change 96652 by rwatson at 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;
 	}
 


More information about the p4-projects mailing list