Browse Source

fix memory leak introduced in 26e89742

found via valgrind
Roger Dingledine 15 years ago
parent
commit
9f51e26715
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/or/dirserv.c

+ 1 - 0
src/or/dirserv.c

@@ -873,6 +873,7 @@ directory_remove_invalid(void)
     directory_set_dirty();
 
   routerlist_assert_ok(rl);
+  smartlist_free(nodes);
 }
 
 /** Mark the directory as <b>dirty</b> -- when we're next asked for a