1
0
Fork 0
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:
Jordan Lee 2011-09-26 05:57:03 +00:00
parent dc498b9a34
commit 0fde2ddc8e

View file

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