aboutsummaryrefslogtreecommitdiff
path: root/src/or/networkstatus.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-04-26 13:32:36 -0400
committerNick Mathewson <nickm@torproject.org>2014-04-29 12:48:02 -0400
commit212e982d9b21ae1e13639162e491bd690c3ea7a5 (patch)
tree899ec76377c2284ef390eb58d1d9514b0b40e889 /src/or/networkstatus.c
parent504e2000ed631425780d4b0e509deb6b59ff2561 (diff)
downloadtor-212e982d9b21ae1e13639162e491bd690c3ea7a5.tar
tor-212e982d9b21ae1e13639162e491bd690c3ea7a5.tar.gz
Fix leaks in dir voting tests
Diffstat (limited to 'src/or/networkstatus.c')
-rw-r--r--src/or/networkstatus.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c
index ef450073e..90918d4fe 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;