1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-26 17:47:37 +00:00

(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

View file

@ -1070,6 +1070,7 @@ freeTorrent( tr_torrent * tor )
tr_bitfieldFree( tor->checkedPieces ); tr_bitfieldFree( tor->checkedPieces );
tr_free( tor->downloadDir ); tr_free( tor->downloadDir );
tr_free( tor->peer_id );
if( tor == h->torrentList ) if( tor == h->torrentList )
h->torrentList = tor->next; h->torrentList = tor->next;