Fix file descriptor leak on error
PATCH 1/2 Fix file descriptor leak on error
Signed-off-by Thomas Jarosch <[email protected]>
--- iptables/xtoptions.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
iptables/xtoptions.c +1 -0
@@ -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 ; }
Signature · 1 line
1.7.4.4
Quoted 1 line · Thomas Jarosch
Signed-off-by Thomas Jarosch <[email protected]>
Applied, thanks.
P.S: It seems you were using an outdated working copy BTW, please refresh your tres.