* [iptables PATCH 1/2] Fix file descriptor leak on error
@ 2011-09-05 20:24 Thomas Jarosch
2011-09-28 18:51 ` Pablo Neira Ayuso
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Jarosch @ 2011-09-05 20:24 UTC (permalink / raw)
To: netfilter-devel
Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>
---
iptables/xtoptions.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/iptables/xtoptions.c b/iptables/xtoptions.c
index 04344af..4ee68fb 100644
--- a/iptables/xtoptions.c
+++ b/iptables/xtoptions.c
@@ -1133,6 +1133,7 @@ struct xtables_lmap *xtables_lmap_init(const char *file)
fclose(fp);
return lmap_head;
out:
+ fclose(fp);
xtables_lmap_free(lmap_head);
return NULL;
}
--
1.7.4.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-09-28 18:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-05 20:24 [iptables PATCH 1/2] Fix file descriptor leak on error Thomas Jarosch
2011-09-28 18:51 ` Pablo Neira Ayuso
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).