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 /src | |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/or/routerlist.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |