diff --git a/checkin_notes b/checkin_notes index e457831c18..5d4d7c161f 100755 --- a/checkin_notes +++ b/checkin_notes @@ -10300,3 +10300,11 @@ David 10 Aug 2005 lib/ gui_rpc_client.h gui_rpc_client_ops.C + +David 10 Aug 2005 + - add close_file(), close_socke() to NET_XFER_SET::remove(). + May fix socket leak. + From Egon Larsson + + client/ + net_xfer.C diff --git a/client/net_xfer.C b/client/net_xfer.C index 25463cd685..1fb7c8fcfe 100644 --- a/client/net_xfer.C +++ b/client/net_xfer.C @@ -215,6 +215,9 @@ int NET_XFER_SET::insert(NET_XFER* nxp) { int NET_XFER_SET::remove(NET_XFER* nxp) { vector::iterator iter; + nxp->close_file(); + nxp->close_socket(); + iter = net_xfers.begin(); while (iter != net_xfers.end()) { if (*iter == nxp) {