[prev in list] [next in list] [prev in thread] [next in thread]
List: tor-cvs
Subject: [or-cvs] [tor/master] fix memory leak introduced in 26e89742
From: arma () torproject ! org
Date: 2010-11-30 21:52:56
Message-ID: 20101130215256.3093C5DE4A () cupani ! torproject ! org
[Download RAW message or body]
Author: Roger Dingledine <arma@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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic