summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorrik <rik@FreeBSD.org>2008-09-20 19:25:02 +0000
committerrik <rik@FreeBSD.org>2008-09-20 19:25:02 +0000
commita76a4a93e98f6735706ff6661856943fa9f1fe20 (patch)
tree9925ad2bc1bbfbc6945ed35bcee5f1748d26c0a5 /sbin
parent87be3efbcd3d507eb8b5073e5b30286f109f64a2 (diff)
downloadFreeBSD-src-a76a4a93e98f6735706ff6661856943fa9f1fe20.zip
FreeBSD-src-a76a4a93e98f6735706ff6661856943fa9f1fe20.tar.gz
Free allocated memory.
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ipfw/ipfw2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c
index 50ee754..2e3395a 100644
--- a/sbin/ipfw/ipfw2.c
+++ b/sbin/ipfw/ipfw2.c
@@ -5965,6 +5965,7 @@ table_handler(int ac, char *av[])
tbl->ent[a].masklen, tval);
}
}
+ free(tbl);
} else
errx(EX_USAGE, "invalid table command %s", *av);
}
OpenPOWER on IntegriCloud