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) --- iptables-save.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'iptables-save.c') diff --git a/iptables-save.c b/iptables-save.c index 74e71ff4..90163b50 100644 --- a/iptables-save.c +++ b/iptables-save.c @@ -304,6 +304,8 @@ static int do_output(const char *tablename) exit_error(OTHER_PROBLEM, "Binary NYI\n"); } + iptc_free(&h); + return 1; } -- cgit v1.2.3