diff options
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 6cb6b64c93..e3087a9cc5 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -88,6 +88,13 @@ parse_dir_policy(void) } } +void +free_dir_policy(void) +{ + addr_policy_free(dir_policy); + dir_policy = NULL; +} + /** Return 1 if <b>addr</b> is permitted to connect to our dir port, * based on <b>dir_policy</b>. Else return 0. */ |