diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-04-26 13:32:36 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-04-29 12:48:02 -0400 |
commit | 212e982d9b21ae1e13639162e491bd690c3ea7a5 (patch) | |
tree | 899ec76377c2284ef390eb58d1d9514b0b40e889 /src/or/networkstatus.c | |
parent | 504e2000ed631425780d4b0e509deb6b59ff2561 (diff) | |
download | tor-212e982d9b21ae1e13639162e491bd690c3ea7a5.tar.gz tor-212e982d9b21ae1e13639162e491bd690c3ea7a5.zip |
Fix leaks in dir voting tests
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r-- | src/or/networkstatus.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c index ef450073e7..90918d4fef 100644 --- a/src/or/networkstatus.c +++ b/src/or/networkstatus.c @@ -10,6 +10,7 @@ * client or cache. */ +#define NETWORKSTATUS_PRIVATE #include "or.h" #include "channel.h" #include "circuitmux.h" @@ -183,7 +184,7 @@ router_reload_consensus_networkstatus(void) } /** Free all storage held by the vote_routerstatus object <b>rs</b>. */ -static void +STATIC void vote_routerstatus_free(vote_routerstatus_t *rs) { vote_microdesc_hash_t *h, *next; |