Changeset 8748


Ignore:
Timestamp:
Jun 25, 2009, 4:02:07 AM (13 years ago)
Author:
charles
Message:

(trunk libT) I love you, massif

File:
1 edited

Legend:

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

    r8605 r8748  
    166166    }
    167167
     168    /* keep the iobuf's excess capacity from growing too large */
     169    if( EVBUFFER_LENGTH( io->inbuf ) == 0 ) {
     170        evbuffer_free( io->inbuf );
     171        io->inbuf = evbuffer_new( );
     172    }
     173
    168174    tr_peerIoUnref( io );
    169175}
Note: See TracChangeset for help on using the changeset viewer.