(libT) fix r7055 oops. Also, the comment on that last commit should read "in the values returned by the public API's speed functions, only give the piece data transfer speeds -- don't include the protocol overheads"

This commit is contained in:
Charles Kerr 2008-11-06 03:04:21 +00:00
parent 8e4fa83c77
commit 04d10183e1
1 changed files with 2 additions and 2 deletions

View File

@ -1078,8 +1078,8 @@ freeTorrent( tr_torrent * tor )
assert( h->torrentCount >= 1 );
h->torrentCount--;
tr_rcClose( t->pieceSpeed[TR_PEER_TO_CLIENT] );
tr_rcClose( t->pieceSpeed[TR_CLIENT_TO_PEER] );
tr_rcClose( tor->pieceSpeed[TR_PEER_TO_CLIENT] );
tr_rcClose( tor->pieceSpeed[TR_CLIENT_TO_PEER] );
tr_metainfoFree( inf );
tr_free( tor );