1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-02-04 05:22:40 +00:00

(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

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 );