mirror of
https://github.com/transmission/transmission
synced 2024-12-26 09:37:56 +00:00
fix tr_peerMsgsAddRequest memory leak reported by tiennou
This commit is contained in:
parent
1ebaf597a4
commit
73680b6263
1 changed files with 3 additions and 0 deletions
|
@ -1286,6 +1286,9 @@ clientGotBlock( tr_peermsgs * msgs, const uint8_t * data, const struct peer_requ
|
|||
dbgmsg( msgs, "peer has %d more blocks we've asked for",
|
||||
tr_list_size(msgs->clientAskedFor));
|
||||
|
||||
tr_free( myreq );
|
||||
myreq = NULL;
|
||||
|
||||
/**
|
||||
*** Error checks
|
||||
**/
|
||||
|
|
Loading…
Reference in a new issue