summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/pgt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/pgt.c b/sys/dev/ic/pgt.c
index 138a0519b16..338d618a53d 100644
--- a/sys/dev/ic/pgt.c
+++ b/sys/dev/ic/pgt.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pgt.c,v 1.54 2009/11/06 09:02:42 fgsch Exp $ */
+/* $OpenBSD: pgt.c,v 1.55 2009/11/12 15:27:49 deraadt Exp $ */
/*
* Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org>
@@ -2377,6 +2377,7 @@ pgt_ioctl(struct ifnet *ifp, u_long cmd, caddr_t req)
if (nr)
free(nr, M_DEVBUF);
free(pob, M_DEVBUF);
+ free(wreq, M_DEVBUF);
break;
}
case SIOCSIFADDR: