summaryrefslogtreecommitdiff
path: root/src/or/routerlist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-08-22 15:07:29 +0000
committerNick Mathewson <nickm@torproject.org>2007-08-22 15:07:29 +0000
commit08e605b4e224f811f5de3626d8c575dccc4fd42d (patch)
treec15bb515cb70290248dd709d4a0c449fe7243b55 /src/or/routerlist.c
parentc02fb8997b14f39f14adce7b3082b7e2060495c5 (diff)
downloadtor-08e605b4e224f811f5de3626d8c575dccc4fd42d.tar.gz
tor-08e605b4e224f811f5de3626d8c575dccc4fd42d.zip
r14184@Kushana: nickm | 2007-08-22 11:06:37 -0400
Unmap cached-extrainfo on exit. Fixes bug 484. svn:r11254
Diffstat (limited to 'src/or/routerlist.c')
-rw-r--r--src/or/routerlist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c
index 32c81d3321..2df75874f3 100644
--- a/src/or/routerlist.c
+++ b/src/or/routerlist.c
@@ -1952,6 +1952,8 @@ routerlist_free(routerlist_t *rl)
smartlist_free(rl->old_routers);
if (routerlist->mmap_descriptors)
tor_munmap_file(routerlist->mmap_descriptors);
+ if (routerlist->mmap_extrainfo)
+ tor_munmap_file(routerlist->mmap_extrainfo);
tor_free(rl);
router_dir_info_changed();