[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] r11254: Unmap cached-extrainfo on exit. Fixes bug 484. (in tor/trunk: . src/or)
Author: nickm
Date: 2007-08-22 11:07:29 -0400 (Wed, 22 Aug 2007)
New Revision: 11254
Modified:
tor/trunk/
tor/trunk/ChangeLog
tor/trunk/src/or/routerlist.c
Log:
r14184@Kushana: nickm | 2007-08-22 11:06:37 -0400
Unmap cached-extrainfo on exit. Fixes bug 484.
Property changes on: tor/trunk
___________________________________________________________________
svk:merge ticket from /tor/trunk [r14184] on c95137ef-5f19-0410-b913-86e773d04f59
Modified: tor/trunk/ChangeLog
===================================================================
--- tor/trunk/ChangeLog 2007-08-22 10:57:22 UTC (rev 11253)
+++ tor/trunk/ChangeLog 2007-08-22 15:07:29 UTC (rev 11254)
@@ -30,6 +30,7 @@
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
Modified: tor/trunk/src/or/routerlist.c
===================================================================
--- tor/trunk/src/or/routerlist.c 2007-08-22 10:57:22 UTC (rev 11253)
+++ tor/trunk/src/or/routerlist.c 2007-08-22 15:07:29 UTC (rev 11254)
@@ -1952,6 +1952,8 @@
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();