aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2010-08-15 18:24:23 +0200
committerSebastian Hahn <sebastian@torproject.org>2010-08-16 00:46:42 +0200
commit527581194c285e5b08d4bb4fd9c573a0f12dd83b (patch)
treed5dd5141fa58d0e4bce986b492889133de140561 /src/or
parent4c49d3c27eb664561f1cc953f7c6fa441ac7cedc (diff)
downloadtor-527581194c285e5b08d4bb4fd9c573a0f12dd83b.tar
tor-527581194c285e5b08d4bb4fd9c573a0f12dd83b.tar.gz
Fix a memory leak
It happened in dirvote_add_signatures_to_pending_consesus().
Diffstat (limited to 'src/or')
-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 fd4d742cc..0042934c4 100644
--- a/src/or/dirvote.c
+++ b/src/or/dirvote.c
@@ -3008,6 +3008,7 @@ dirvote_add_signatures_to_pending_consensus(
networkstatus_vote_free(v);
}
*msg_out = "Signatures added";
+ tor_free(new_signatures);
} else if (r == 0) {
*msg_out = "Signatures ignored";
} else {