Changeset 9188


Ignore:
Timestamp:
Sep 26, 2009, 11:46:30 PM (12 years ago)
Author:
charles
Message:

(trunk libT,gtk) plug a couple of minor leaks reported by valgrind

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gtk/details.c

    r9179 r9188  
    20082008    g_source_remove( data->periodic_refresh_tag );
    20092009    g_hash_table_destroy( data->webseed_hash );
     2010    g_hash_table_destroy( data->peer_hash );
    20102011    g_slist_free( data->ids );
    20112012    g_free( data );
  • trunk/libtransmission/torrent.c

    r9179 r9188  
    12361236    tr_rcDestruct( &tor->swarmSpeed );
    12371237
     1238    tr_announcerUnsubscribe( tor->tiers, tor->tiersSubscription );
    12381239    tr_announcerRemoveTorrent( session->announcer, tor );
    12391240
     
    13291330        tr_free( tor->peer_id );
    13301331        tor->peer_id = tr_peerIdNew( );
    1331 fprintf( stderr, "setting torrent \"%s\" peer_id as %s\n", tr_torrentName( tor ), tor->peer_id );
    13321332
    13331333        tor->isRunning = 1;
Note: See TracChangeset for help on using the changeset viewer.