Stop leaking keypin-rejected routerinfos on directory authorities
commitec61ae59a5d009a9e80f3bfa9a2aa5f5dfa05551
authorteor <teor2345@gmail.com>
Thu, 25 May 2017 02:30:21 +0000 (25 12:30 +1000)
committerRoger Dingledine <arma@torproject.org>
Thu, 25 May 2017 04:09:40 +0000 (25 00:09 -0400)
tree038b36eb10ef855efc3f03cd85cd2e806bee9e0d
parent6e5486b11ac113ab7cf42d167dd5555b5916ddbc
Stop leaking keypin-rejected routerinfos on directory authorities

When directory authorities reject a router descriptor due to keypinning,
free the router descriptor rather than leaking the memory.

Fixes bug 22370; bugfix on 0.2.7.2-alpha.
changes/bug22370 [new file with mode: 0644]
src/or/dirserv.c