diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-11-12 15:27:50 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-11-12 15:27:50 +0000 |
commit | 58b2475b5f3ae963c428eaea5f4df5870ffa399a (patch) | |
tree | a05e54440c8eadabba32ba2b9797875b43e81df5 /sys/dev/ic | |
parent | 00e87aac410a66c5417a6b22785c148f0c3e41d7 (diff) |
memory leak found by parfait in an ioctl path, ok damien jsg
Diffstat (limited to 'sys/dev/ic')
-rw-r--r-- | sys/dev/ic/pgt.c | 3 |
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: |