diff --git a/libtransmission/torrent.c b/libtransmission/torrent.c index 8599adc80..7a60e272b 100644 --- a/libtransmission/torrent.c +++ b/libtransmission/torrent.c @@ -1070,6 +1070,7 @@ freeTorrent( tr_torrent * tor ) tr_bitfieldFree( tor->checkedPieces ); tr_free( tor->downloadDir ); + tr_free( tor->peer_id ); if( tor == h->torrentList ) h->torrentList = tor->next;