Changeset 7553


Ignore:
Timestamp:
Dec 30, 2008, 10:19:52 PM (12 years ago)
Author:
charles
Message:

(trunk libT) fix a couple of minor memory leaks

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/json-test.c

    r7552 r7553  
    8282    tr_free( json );
    8383
     84    tr_releaseBuffer( buf );
    8485    return 0;
    8586}
  • trunk/libtransmission/session.c

    r7547 r7553  
    478478    session->shared = tr_sharedInit( session, i, session->peerPort );
    479479    session->isPortSet = session->isPortRandom || j>0;
    480     session->bandwidth = tr_bandwidthNew( session, NULL );
    481480
    482481    /**
     
    524523    metainfoLookupRescan( session );
    525524
     525    tr_bencFree( &settings );
    526526    return session;
    527527}
Note: See TracChangeset for help on using the changeset viewer.