diff -Naur a/toys/posix/comm.c b/toys/posix/comm.c
--- a/toys/posix/comm.c	2014-10-02 18:23:27.000000000 +0530
+++ b/toys/posix/comm.c	2014-10-06 17:50:03.333640306 +0530
@@ -77,5 +77,5 @@
     line[i] = get_line(file[i]);
   }
 
-  if (CFG_TOYBOX_FREE) for (i = 0; i < 2; i--) xclose(file[i]);
+  if (CFG_TOYBOX_FREE) for (i = 0; i < 2; i++) xclose(file[i]);
 }
