diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-07-16 14:52:54 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-07-16 14:52:54 +0000 |
commit | 1953de9dd1f1a6411f2e65f57850cf864f3a68b6 (patch) | |
tree | 28dab770a8bce13236f4f8d0dbc17d8f8c37da97 | |
parent | 800a0924dabbcf500a657a827445166007f7fa99 (diff) | |
download | tor-1953de9dd1f1a6411f2e65f57850cf864f3a68b6.tar.gz tor-1953de9dd1f1a6411f2e65f57850cf864f3a68b6.zip |
r13767@catbus: nickm | 2007-07-16 10:52:47 -0400
Backport 10830: fix a small memory leak when rebuilding the router store.
svn:r10841
-rw-r--r-- | doc/TODO.012 | 2 | ||||
-rw-r--r-- | src/or/routerlist.c | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/doc/TODO.012 b/doc/TODO.012 index 51e9dccd7a..978e5f4b4c 100644 --- a/doc/TODO.012 +++ b/doc/TODO.012 @@ -17,7 +17,7 @@ Backport items for 0.1.2: o r10760: fix possible buffer overrun in old BSD natd code o r10790: Don't include reasons in destroy cells from the origin. - Some fix for bug 455. - - r10830 if nick thinks it's a real fix + o r10830 if nick thinks it's a real fix - r10835 if nick thinks it's a real fix diff --git a/src/or/routerlist.c b/src/or/routerlist.c index a94324d3f2..446ed06250 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -344,6 +344,7 @@ router_rebuild_store(int force) smartlist_free(old_routers); smartlist_free(routers); tor_free(fname); + tor_free(fname_tmp); SMARTLIST_FOREACH(chunk_list, sized_chunk_t *, c, tor_free(c)); smartlist_free(chunk_list); return r; |