Changeset 2860


Ignore:
Timestamp:
Aug 19, 2007, 12:18:43 AM (15 years ago)
Author:
charles
Message:

fix a couple of more memory leaks that valgrind found

Location:
trunk/libtransmission
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/tracker.c

    r2859 r2860  
    925925            ? -1
    926926            : tor->tracker->announceIntervalMsec;
     927
     928        if( bencLoaded )
     929            tr_bencFree( &benc );
    927930    }
    928931    else
  • trunk/libtransmission/trevent.c

    r2858 r2860  
    9191            tr_dbg( "read del event from pipe: event is %p", event );
    9292            event_del( event );
     93            tr_free( event );
    9394            break;
    9495
Note: See TracChangeset for help on using the changeset viewer.