Ignore:
Timestamp:
Sep 9, 2007, 4:57:15 PM (15 years ago)
Author:
charles
Message:

(encryption) fix loooong-standing off-by-one memory allocation bug in the bitfield code

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/encryption/libtransmission/peer-mgr.c

    r2995 r3000  
    620620
    621621void
    622 tr_peerMgrStopTorrent( tr_peerMgr     * manager UNUSED,
    623                        const uint8_t  * torrentHash UNUSED )
    624 {
    625     //fprintf( stderr, "FIXME\n" );
     622tr_peerMgrStopTorrent( tr_peerMgr     * manager,
     623                       const uint8_t  * torrentHash)
     624{
     625    Torrent * t = getExistingTorrent( manager, torrentHash );
     626    freeTorrent( manager, t );
    626627}
    627628
Note: See TracChangeset for help on using the changeset viewer.