mirror of
https://github.com/transmission/transmission
synced 2025-02-21 05:36:54 +00:00
in freeTorrent(), don't destruct the torrent's completion field until after calling tr_announceRemoveTorrent()
This commit is contained in:
parent
dc498b9a34
commit
0fde2ddc8e
1 changed files with 2 additions and 2 deletions
|
@ -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 );
|
||||
|
||||
|
|
Loading…
Reference in a new issue