Commit Diff


commit - d22938d6fd8383d8a7760420d93ab4cc567f7e94
commit + 9e918e62b0a156e94893341b7bb7eb65ba32aa38
blob - f2bf50c29ff3c08cf1d8ed219b48c68b2b78120f
blob + 8bd470f8e2aa8295a69b00ec525e774a76522da2
--- main.c
+++ main.c
@@ -136,7 +136,7 @@ struct tcps {
 } *tn1, *tn2, *tnp;
 
 
-static const char rcsid[] = "$Id: main.c,v 1.67 2011/09/19 19:59:23 pbug Exp $";
+static const char rcsid[] = "$Id: main.c,v 1.68 2011/09/22 06:07:54 pbug Exp $";
 
 /* 
  * MAIN - set up arguments, set up database, set up sockets, call mainloop
@@ -837,6 +837,7 @@ main(int argc, char *argv[])
 			for (j = 0; j < i; j++) {
 				close(tcp[j]);
 				close(udp[j]);
+				close(uafd[j]);
 			}
 			close(raw[0]);
 			close(raw[1]);