Changeset 7621


Ignore:
Timestamp:
Jan 5, 2009, 6:18:13 PM (12 years ago)
Author:
charles
Message:

(trunk libT) fix a minor memory leak reported by Valgrind

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/resume.c

    r7578 r7621  
    7474    if( count > 0 )
    7575        tr_bencDictAddRaw( dict, KEY_PEERS, pex, sizeof( tr_pex ) * count );
     76
     77    tr_free( pex );
     78    pex = NULL;
    7679   
    7780    count = tr_peerMgrGetPeers( tor->session->peerMgr, tor->info.hash, &pex,
Note: See TracChangeset for help on using the changeset viewer.