diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2002-08-06 13:43:34 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2002-08-06 13:43:34 +0000 |
commit | b4f21e5439251332fc2031bb14c36dcb5ed38f2b (patch) | |
tree | 486757d388f8d905bee26ff5ce133436e67de3df | |
parent | e7702c442ba461646c4a6ee43c450ca183c2c238 (diff) |
missing free(), mpech@
ok pb@
-rw-r--r-- | sbin/pfctl/parse.y | 3 |
1 files changed, 2 insertions, 1 deletions
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; |