[eggheads-patches] Socket leak in transfer.mod fix

Bryan Drewery bryan at shatow.net
Tue Oct 28 08:45:35 CST 2008


--- src/mod/transfer.mod/transfer.c.orig        2008-10-28
07:42:09.000000000 -0700
+++ src/mod/transfer.mod/transfer.c     2008-10-28 07:42:28.000000000 -0700
@@ -724,6 +724,7 @@

 static void tout_dcc_send(int idx)
 {
+  fclose(dcc[idx].u.xfer->f);
   if (!strcmp(dcc[idx].nick, "*users")) {
     int x, y = 0;




More information about the Patches mailing list