diff options
author | 2004-01-07 19:58:54 +0000 | |
---|---|---|
committer | 2004-01-07 19:58:54 +0000 | |
commit | c8a53cf422ea774957b78a6a51cd3583858e4b1f (patch) | |
tree | 84a292d18ebe006ea81ae0cdf2940b6f1e889ae3 | |
parent | document syn cache sysctl; ok deraadt, jmc, itojun (diff) | |
download | wireguard-openbsd-c8a53cf422ea774957b78a6a51cd3583858e4b1f.tar.xz wireguard-openbsd-c8a53cf422ea774957b78a6a51cd3583858e4b1f.zip |
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); } |