mirror of
https://github.com/transmission/transmission
synced 2024-12-26 01:27:28 +00:00
(libT) fix a minor memory leak.
This commit is contained in:
parent
11cda23c81
commit
76ce949419
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue