diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2004-01-07 19:58:55 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2004-01-07 19:58:55 +0000 |
commit | 628e65655ae45cbbf0f4eeab8dfcbe5bc2d48c33 (patch) | |
tree | 72cae58ac21c74e38b1f7fc05539480acf70423c | |
parent | 06f31d5e68e4d9eb9cbd0addfd0290b175234842 (diff) |
PFI_MTYPE leak; ok cedric@
-rw-r--r-- | sys/net/pf_if.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/net/pf_if.c b/sys/net/pf_if.c index 5fff2f401e4..4c1c2c99bc7 100644 --- a/sys/net/pf_if.c +++ b/sys/net/pf_if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pf_if.c,v 1.4 2003/12/31 22:14:42 deraadt Exp $ */ +/* $OpenBSD: pf_if.c,v 1.5 2004/01/07 19:58:54 markus Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -611,6 +611,7 @@ pfi_maybe_destroy(struct pfi_kif *p) RB_REMOVE(pfi_ifhead, &pfi_ifs, p); splx(s); + free(p->pfik_ah_head, PFI_MTYPE); free(p, PFI_MTYPE); return (1); } |