diff options
author | Martin Josefsson <gandalf@wlug.westbo.se> | 2003-05-02 15:30:11 +0000 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2003-05-02 15:30:11 +0000 |
commit | 841e4aed2349046eb2c0b1375139c06569a93bd0 (patch) | |
tree | 9f7a208076fc164ca3d52e745964c7dbc7afc350 /iptables-save.c | |
parent | 59cbe17cee0499c8f25a8d9f29513f4c85e9b03c (diff) |
fix memory leak(s) in libiptc. Reverts the previous (wrong) patch. (Martin Josefsson)
Diffstat (limited to 'iptables-save.c')
-rw-r--r-- | iptables-save.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } |