| From | Subject | Date |
|---|---|---|
| Igor Zinovik | [patch] memory leak in pfctl_parser
Hello, tech@
Following diff fixes memory leak. `debug' is allocated via asprintf(3) so we
need to free it with free(3).
Index: pfctl_parser.c
===================================================================
RCS file: /cvs/src/sbin/pfctl/pfctl_parser.c,v
retrieving revision 1.263
diff -u -r1.263 pfctl_parser.c
--- pfctl_parser.c 18 Mar 2010 12:15:22 -0000 1.263
+++ pfctl_parser.c 20 Mar 2010 20:01:12 -0000
@@ -528,6 +528,7 @@
printf("%-44s", statline);
asprintf(&debug, "Debug: ...
| Mar 20, 2:03 pm 2010 |
| Dawe | Re: bge(4) diff needs testing.
On Fri, 19 Mar 2010 19:50:58 -0400
Well, for my bge(4) things run as usual.
OpenBSD 4.7-current (GENERIC.MP) #0: Sat Mar 20 02:06:43 CET 2010
dawe@liltree.my.domain:/usr/src/sys/arch/amd64/compile/GENERIC.MP
real mem = 1062203392 (1012MB)
avail mem = 1022468096 (975MB)
mainbus0 at root
bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xf0450 (77 entries)
bios0: vendor Dell Inc. version "2.6.1" date 12/06/2007
bios0: Dell Inc. OptiPlex 745
acpi0 at bios0: rev 2
acpi0: tables DSDT FACP SSDT APIC ...
| Mar 19, 6:29 pm 2010 |
| previous day | today | next day |
|---|---|---|
| March 19, 2010 | March 20, 2010 | March 21, 2010 |
