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.
This commit is contained in:
teor
2017-05-25 12:30:21 +10:00
committed by Roger Dingledine
parent 6e5486b11a
commit ec61ae59a5
2 changed files with 10 additions and 1 deletions
+4
View File
@@ -0,0 +1,4 @@
o Minor bugfixes (memory handling):
- 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.