fix memory leak introduced in 26e89742

found via valgrind
This commit is contained in:
Roger Dingledine 2010-11-30 16:52:19 -05:00
parent 19019f26b0
commit 9f51e26715

View File

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