mirror of
https://github.com/transmission/transmission
synced 2024-12-26 09:37:56 +00:00
fix trunk memory leak reported by tiennou
This commit is contained in:
parent
787d2b800c
commit
1ebaf597a4
1 changed files with 3 additions and 0 deletions
|
@ -1756,6 +1756,9 @@ tr_peerMsgsFree( tr_peermsgs* msgs )
|
|||
tr_list_free( &msgs->clientAskedFor, tr_free );
|
||||
tr_list_free( &msgs->peerAskedForFast, tr_free );
|
||||
tr_list_free( &msgs->peerAskedFor, tr_free );
|
||||
tr_bitfieldFree( msgs->peerAllowedPieces );
|
||||
tr_bitfieldFree( msgs->clientAllowedPieces );
|
||||
tr_bitfieldFree( msgs->clientSuggestedPieces );
|
||||
evbuffer_free( msgs->outMessages );
|
||||
evbuffer_free( msgs->outBlock );
|
||||
tr_free( msgs->pex );
|
||||
|
|
Loading…
Reference in a new issue