]> git.ipfire.org Git - thirdparty/tor.git/commit
Fix a rare memory leak in rend_cache_store
authorNick Mathewson <nickm@torproject.org>
Fri, 1 Jul 2011 15:52:39 +0000 (11:52 -0400)
committerNick Mathewson <nickm@torproject.org>
Fri, 1 Jul 2011 16:54:19 +0000 (12:54 -0400)
commit46297bc7bd86826fa79195f36059ce408ef45b6c
tree3d8f06b40018be5e9c825254d8cedb751361bacb
parent010b8dd4f6e8e3c3d2e44ff589ff61cbf64b952a
Fix a rare memory leak in rend_cache_store

When we rejected a descriptor for not being the one we wanted, we
were letting the parsed descriptor go out of scope.

Found by Coverity; CID # 30.

Bugfix on 0.2.1.26.

(No changes file yet, since this is not in any 0.2.1.x release.)
src/or/rendcommon.c