diff --git a/libtransmission/torrent.c b/libtransmission/torrent.c index 4115fb4be..7cac7d0b5 100644 --- a/libtransmission/torrent.c +++ b/libtransmission/torrent.c @@ -1512,10 +1512,10 @@ freeTorrent( tr_torrent * tor ) tr_peerMgrRemoveTorrent( tor ); - tr_cpDestruct( &tor->completion ); - tr_announcerRemoveTorrent( session->announcer, tor ); + tr_cpDestruct( &tor->completion ); + tr_free( tor->downloadDir ); tr_free( tor->incompleteDir );