[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r10841: Backport 10830: fix a small memory leak when rebuilding the (in tor/branches/tor-0_1_2-patches: . doc src/or)



Author: nickm
Date: 2007-07-16 10:52:54 -0400 (Mon, 16 Jul 2007)
New Revision: 10841

Modified:
   tor/branches/tor-0_1_2-patches/
   tor/branches/tor-0_1_2-patches/doc/TODO.012
   tor/branches/tor-0_1_2-patches/src/or/routerlist.c
Log:
 r13767@catbus:  nickm | 2007-07-16 10:52:47 -0400
 Backport 10830: fix a small memory leak when rebuilding the router store.



Property changes on: tor/branches/tor-0_1_2-patches
___________________________________________________________________
 svk:merge ticket from /tor/012 [r13767] on 8246c3cf-6607-4228-993b-4d95d33730f1

Modified: tor/branches/tor-0_1_2-patches/doc/TODO.012
===================================================================
--- tor/branches/tor-0_1_2-patches/doc/TODO.012	2007-07-16 13:45:37 UTC (rev 10840)
+++ tor/branches/tor-0_1_2-patches/doc/TODO.012	2007-07-16 14:52:54 UTC (rev 10841)
@@ -17,7 +17,7 @@
   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
 
 

Modified: tor/branches/tor-0_1_2-patches/src/or/routerlist.c
===================================================================
--- tor/branches/tor-0_1_2-patches/src/or/routerlist.c	2007-07-16 13:45:37 UTC (rev 10840)
+++ tor/branches/tor-0_1_2-patches/src/or/routerlist.c	2007-07-16 14:52:54 UTC (rev 10841)
@@ -344,6 +344,7 @@
   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;