Date: Sun, 17 Feb 2008 20:06:58 GMT From: Aaron Meihm <alm@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 135586 for review Message-ID: <200802172006.m1HK6w7f074760@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=135586 Change 135586 by alm@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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200802172006.m1HK6w7f074760>