All of lore.kernel.org
 help / color / mirror / Atom feed
* [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

* Re: [iptables PATCH 1/2] Fix file descriptor leak on error
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2011-09-28 18:51 UTC (permalink / raw)
  To: Thomas Jarosch; +Cc: netfilter-devel

On Mon, Sep 05, 2011 at 10:24:45PM +0200, Thomas Jarosch wrote:
> Signed-off-by: Thomas Jarosch <thomas.jarosch@intra2net.com>

Applied, thanks.

P.S: It seems you were using an outdated working copy BTW, please
refresh your tres.

^ permalink raw reply	[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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.