[or-cvs] [tor/master] fix memory leak introduced in 26e89742
arma at torproject.org
arma at torproject.org
Tue Nov 30 21:52:56 UTC 2010
Author: Roger Dingledine <arma at torproject.org>
Date: Tue, 30 Nov 2010 16:52:19 -0500
Subject: fix memory leak introduced in 26e89742
Commit: 9f51e26715c488a9a4c9a92f42bea09a9f61100c
found via valgrind
---
src/or/dirserv.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 4f793dc..a394bf6 100644
--- a/src/or/dirserv.c
+++ b/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
--
1.7.1
More information about the tor-commits
mailing list