diff options
author | 2002-08-06 13:43:33 +0000 | |
---|---|---|
committer | 2002-08-06 13:43:33 +0000 | |
commit | 021f8601612685d3dc4cd8f43b5801d819a4b156 (patch) | |
tree | 6e59159adc10b71aecc45bc89ddf20a33bdbed1a | |
parent | check fo strdup() allocation errors (diff) | |
download | wireguard-openbsd-021f8601612685d3dc4cd8f43b5801d819a4b156.tar.xz wireguard-openbsd-021f8601612685d3dc4cd8f43b5801d819a4b156.zip |
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; |