From 04d10183e1bcadb49eea819eca459cf6f493ea39 Mon Sep 17 00:00:00 2001 From: Charles Kerr Date: Thu, 6 Nov 2008 03:04:21 +0000 Subject: [PATCH] (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" --- libtransmission/torrent.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libtransmission/torrent.c b/libtransmission/torrent.c index c38ac5f5a..db91927ad 100644 --- a/libtransmission/torrent.c +++ b/libtransmission/torrent.c @@ -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 );