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

Fix 0.90 socket connection leak.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/peer-mgr.c

    r3500 r3550  
    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.