diff options
author | Nick Mathewson <nickm@torproject.org> | 2007-10-25 14:31:15 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2007-10-25 14:31:15 +0000 |
commit | 73c1cfe80b85d31aeac1d596c17292f102363785 (patch) | |
tree | ccd2544359b2d30197fbd0ea6f0177581545c4eb /src/or/networkstatus.c | |
parent | 53e62339857eaa650df769ad3ad7cc2527b296ca (diff) | |
download | tor-73c1cfe80b85d31aeac1d596c17292f102363785.tar.gz tor-73c1cfe80b85d31aeac1d596c17292f102363785.zip |
r16154@catbus: nickm | 2007-10-25 10:29:47 -0400
Fix more memory leaks, with help from dmalloc.
svn:r12188
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r-- | src/or/networkstatus.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c index 0a4006abe8..b8500d448e 100644 --- a/src/or/networkstatus.c +++ b/src/or/networkstatus.c @@ -231,6 +231,8 @@ networkstatus_vote_free(networkstatus_vote_t *ns) tor_free(voter->nickname); tor_free(voter->address); tor_free(voter->contact); + tor_free(voter->signature); + tor_free(voter); }); smartlist_free(ns->voters); } @@ -302,6 +304,7 @@ networkstatus_check_voter_signature(networkstatus_vote_t *consensus, } else { voter->good_signature = 1; } + tor_free(signed_digest); return 0; } |