]> granicus.if.org Git - transmission/commit
(trunk libT) #3956 "tr_bencFree() could be faster" -- fix memory error.
authorJordan Lee <jordan@transmissionbt.com>
Tue, 1 Feb 2011 17:56:19 +0000 (17:56 +0000)
committerJordan Lee <jordan@transmissionbt.com>
Tue, 1 Feb 2011 17:56:19 +0000 (17:56 +0000)
commitee849ab82b5eb6f75e66318f13562495c7f8cb15
treeac309a282666c778cd7c640888eed6b4ab13790f
parent3f2e8b7b025970d6e5b8cf0bce483c458b63b368
(trunk libT) #3956 "tr_bencFree() could be faster" -- fix memory error.

#3956's r11780 has uncovered a longstanding memory error that occurs when tr_bencParse() fails to parse a dict and leaves a dangling key. This is fixed by cleaning up the key.
libtransmission/bencode.c