Ignore:
Timestamp:
Apr 17, 2008, 7:54:22 PM (14 years ago)
Author:
charles
Message:

fix a couple more minor leaks

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/session.c

    r5635 r5636  
    416416tr_close( tr_handle * h )
    417417{
     418    int i;
    418419    const int maxwait_msec = SHUTDOWN_MAX_SECONDS * 1000;
    419420    const uint64_t deadline = tr_date( ) + maxwait_msec;
     
    431432    tr_fdClose( );
    432433    tr_lockFree( h->lock );
     434    for( i=0; i<h->metainfoLookupCount; ++i )
     435        tr_free( h->metainfoLookup[i].filename );
     436    tr_free( h->metainfoLookup );
    433437    tr_free( h->tag );
    434438    tr_free( h->configDir );
Note: See TracChangeset for help on using the changeset viewer.