From 841e4aed2349046eb2c0b1375139c06569a93bd0 Mon Sep 17 00:00:00 2001 From: Martin Josefsson Date: Fri, 2 May 2003 15:30:11 +0000 Subject: fix memory leak(s) in libiptc. Reverts the previous (wrong) patch. (Martin Josefsson) --- ip6tables-save.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ip6tables-save.c') diff --git a/ip6tables-save.c b/ip6tables-save.c index b9dbd80e..77cc3250 100644 --- a/ip6tables-save.c +++ b/ip6tables-save.c @@ -305,6 +305,8 @@ static int do_output(const char *tablename) exit_error(OTHER_PROBLEM, "Binary NYI\n"); } + ip6tc_free(&h); + return 1; } -- cgit v1.2.3