PERFORCE change 135586 for review
Aaron Meihm
alm at FreeBSD.org
Sun Feb 17 12:06:59 PST 2008
http://perforce.freebsd.org/chv.cgi?CH=135586
Change 135586 by alm at alm_praetorian on 2008/02/17 20:06:39
- Reset CFLAGS
- Free consumer queue entry when we no longer require it
Affected files ...
.. //depot/projects/trustedbsd/netauditd/Makefile#2 edit
.. //depot/projects/trustedbsd/netauditd/netauditd.c#2 edit
Differences ...
==== //depot/projects/trustedbsd/netauditd/Makefile#2 (text+ko) ====
@@ -2,6 +2,6 @@
SRCS= netauditd.c
NO_MAN=
-CFLAGS= -Wall -ggdb
+CFLAGS+= -Wall -ggdb
.include <bsd.prog.mk>
==== //depot/projects/trustedbsd/netauditd/netauditd.c#2 (text+ko) ====
@@ -422,6 +422,7 @@
else if (ret == q->aq_remain) {
dprintf("record %p submitted\n", r);
TAILQ_REMOVE(&au->ac_oq, q, aq_glue);
+ free(q);
r->ar_refcount--;
if (r->ar_refcount == 0) {
free(r->ar_sbuf);
More information about the p4-projects
mailing list