From b4f21e5439251332fc2031bb14c36dcb5ed38f2b Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Tue, 6 Aug 2002 13:43:34 +0000 Subject: missing free(), mpech@ ok pb@ --- sbin/pfctl/parse.y | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sbin/pfctl/parse.y') diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y index 19c5a5a4310..7fb83b39dd9 100644 --- a/sbin/pfctl/parse.y +++ b/sbin/pfctl/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.138 2002/08/06 11:25:05 henning Exp $ */ +/* $OpenBSD: parse.y,v 1.139 2002/08/06 13:43:33 henning Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -342,6 +342,7 @@ scrubrule : SCRUB dir interface fromto nodf minttl maxmss fragcache } memcpy(r.ifname, $3->ifname, sizeof(r.ifname)); + free($3); } if ($5) r.rule_flag |= PFRULE_NODF; -- cgit v1.2.3