Fix a memory leak in the exit policy parsing code
commit16bec0dfd9e5cdd0faf99587c2261b148bc58011
authorcypherpunks <cypherpunks@torproject.org>
Fri, 4 Dec 2015 14:47:59 +0000 (4 15:47 +0100)
committerteor (Tim Wilson-Brown) <teor2345@gmail.com>
Sun, 6 Dec 2015 09:24:07 +0000 (6 20:24 +1100)
tree5789489906a6163f1ee3017c0c5c73eb6e6f5163
parentee5337e90497e31c1ef18630c4f089e70bda5269
Fix a memory leak in the exit policy parsing code

This memory leak only occurs when the Tor instance is not an exit node.

Fixes code introduced in 10a6390deb3c9ff9fbd8078fc812abf6c77ad67f.
src/or/policies.c