(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:
parent
8e4fa83c77
commit
04d10183e1
|
@ -1078,8 +1078,8 @@ freeTorrent( tr_torrent * tor )
|
||||||
assert( h->torrentCount >= 1 );
|
assert( h->torrentCount >= 1 );
|
||||||
h->torrentCount--;
|
h->torrentCount--;
|
||||||
|
|
||||||
tr_rcClose( t->pieceSpeed[TR_PEER_TO_CLIENT] );
|
tr_rcClose( tor->pieceSpeed[TR_PEER_TO_CLIENT] );
|
||||||
tr_rcClose( t->pieceSpeed[TR_CLIENT_TO_PEER] );
|
tr_rcClose( tor->pieceSpeed[TR_CLIENT_TO_PEER] );
|
||||||
|
|
||||||
tr_metainfoFree( inf );
|
tr_metainfoFree( inf );
|
||||||
tr_free( tor );
|
tr_free( tor );
|
||||||
|
|
Loading…
Reference in New Issue