From 628e65655ae45cbbf0f4eeab8dfcbe5bc2d48c33 Mon Sep 17 00:00:00 2001 From: Markus Friedl Date: Wed, 7 Jan 2004 19:58:55 +0000 Subject: PFI_MTYPE leak; ok cedric@ --- sys/net/pf_if.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } -- cgit v1.2.3