(libT) fix a minor memory leak.

This commit is contained in:
Charles Kerr 2008-12-06 02:21:50 +00:00
parent 11cda23c81
commit 76ce949419
1 changed files with 1 additions and 0 deletions

View File

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