r14184@Kushana: nickm | 2007-08-22 11:06:37 -0400

Unmap cached-extrainfo on exit. Fixes bug 484.


svn:r11254
This commit is contained in:
Nick Mathewson 2007-08-22 15:07:29 +00:00
parent c02fb8997b
commit 08e605b4e2
2 changed files with 3 additions and 0 deletions

View File

@ -30,6 +30,7 @@ Changes in version 0.2.0.6-alpha - 2007-??-??
servers to choose a circuit. Bugfix on 0.1.2.x.
- Stop leaking part of the descriptor when we run into a particularly
unparseable piece of it. Bugfix on 0.1.2.x.
- Unmap the extrainfo cache file on exit.
o Minor features (misc):
- Optionally (if built with -DEXPORTMALLINFO) export the output

View File

@ -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();