[PATCH 1/1] applet_tables.c: add a missing fclose

Juro Bystricky juro.bystricky at intel.com
Fri Aug 26 17:58:02 UTC 2016


Signed-off-by: Juro Bystricky <juro.bystricky at intel.com>
---
 applets/applet_tables.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/applets/applet_tables.c b/applets/applet_tables.c
index ef911a4..40c2acf 100644
--- a/applets/applet_tables.c
+++ b/applets/applet_tables.c
@@ -213,6 +213,7 @@ int main(int argc, char **argv)
 			if (!fp)
 				return 1;
 			fputs(line_new, fp);
+			fclose(fp);
 //		}
 	}
 
-- 
2.7.4



More information about the busybox mailing list