Ignore:
Timestamp:
Oct 25, 2007, 1:39:11 PM (15 years ago)
Author:
charles
Message:

(0.9x) fix 0.90 socket leak.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/0.9x/libtransmission/peer-mgr.c

    r3500 r3551  
    952952    managerLock( manager );
    953953
    954     if( getExistingHandshake( manager->incomingHandshakes, addr ) == NULL )
     954    if( getExistingHandshake( manager->incomingHandshakes, addr ) )
     955    {
     956        tr_netClose( socket );
     957    }
     958    else /* we don't have a connetion to them yet... */
    955959    {
    956960        tr_peerIo * io;
Note: See TracChangeset for help on using the changeset viewer.