mirror of
https://github.com/transmission/transmission
synced 2024-12-25 01:03:01 +00:00
(libT) fix minor PEX memory leak reported by valgrind
This commit is contained in:
parent
4b6ef3fc0d
commit
43b99f425a
1 changed files with 1 additions and 0 deletions
|
@ -1856,6 +1856,7 @@ sendPex( tr_peermsgs * msgs )
|
|||
*walk++ = diffs.added[i].flags;
|
||||
assert( ( walk - tmp ) == diffs.addedCount );
|
||||
tr_bencDictAddRaw( &val, "added.f", tmp, walk-tmp );
|
||||
tr_free( tmp );
|
||||
|
||||
/* "dropped" */
|
||||
dropped = tr_bencDictAdd( &val, "dropped" );
|
||||
|
|
Loading…
Reference in a new issue