Changeset 2857


Ignore:
Timestamp:
Aug 18, 2007, 10:35:09 PM (15 years ago)
Author:
charles
Message:

fix minor memory leaks introduced in the last couple of days

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/metainfo.c

    r2805 r2857  
    314314    tr_free( inf->pieces );
    315315    tr_free( inf->files );
     316    tr_free( inf->primaryAddress );
    316317   
    317318    for( i=0; i<inf->trackerTiers; ++i ) {
  • trunk/libtransmission/trevent.c

    r2851 r2857  
    107107            tr_dbg( "read http req from pipe: req.cb_arg is %p", req->cb_arg );
    108108            evhttp_make_request( evcon, req, type, uri );
     109            tr_free( uri );
    109110            break;
    110111
Note: See TracChangeset for help on using the changeset viewer.