From 3785261a19bc2be523f288ba032f78f0b02bccdd Mon Sep 17 00:00:00 2001 From: laforge 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 74e71ff..90163b5 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