diff options
author | Nick Mathewson <nickm@torproject.org> | 2005-02-10 23:18:39 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2005-02-10 23:18:39 +0000 |
commit | 60f234f42b63ed6a5208c70bbc4c32e532cc903d (patch) | |
tree | aaa4aa5ea631dafadb38afd28c3030a4b54f20c7 /src/or/directory.c | |
parent | df41b20e90c5f817b0c8c7ba913cdadea3c671fe (diff) | |
download | tor-60f234f42b63ed6a5208c70bbc4c32e532cc903d.tar.gz tor-60f234f42b63ed6a5208c70bbc4c32e532cc903d.zip |
Add more functions to free things to help dmalloc allong.
svn:r3613
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. */ |