summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2009-11-12 01:31:26 -0500
committerRoger Dingledine <arma@torproject.org>2009-11-12 01:31:26 -0500
commit22f674fcb88411d8b56a3423fb0c09bb7745529c (patch)
tree9fb9791e2b40bff169c7a1d748f73a7665fc2b0c /src
parent69c0147ea6725a63f254333867c0504528c62daf (diff)
downloadtor-22f674fcb88411d8b56a3423fb0c09bb7745529c.tar.gz
tor-22f674fcb88411d8b56a3423fb0c09bb7745529c.zip
Fix a memory leak on directory authorities during voting
Fix a memory leak on directory authorities during voting that was introduced in 0.2.2.1-alpha. Found via valgrind.
Diffstat (limited to 'src')
-rw-r--r--src/or/dirvote.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/dirvote.c b/src/or/dirvote.c
index 65d7c477eb..5de5da1985 100644
--- a/src/or/dirvote.c
+++ b/src/or/dirvote.c
@@ -1305,6 +1305,7 @@ networkstatus_compute_consensus(smartlist_t *votes,
smartlist_free(versions);
smartlist_free(exitsummaries);
tor_free(bandwidths);
+ tor_free(measured_bws);
}
/* Add a signature. */