1
0
Fork 0
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:
Charles Kerr 2008-07-18 19:50:38 +00:00
parent 4b6ef3fc0d
commit 43b99f425a

View file

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