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.h | |
parent | 504e2000ed631425780d4b0e509deb6b59ff2561 (diff) | |
download | tor-212e982d9b21ae1e13639162e491bd690c3ea7a5.tar.gz tor-212e982d9b21ae1e13639162e491bd690c3ea7a5.zip |
Fix leaks in dir voting tests
Diffstat (limited to 'src/or/networkstatus.h')
-rw-r--r-- | src/or/networkstatus.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/or/networkstatus.h b/src/or/networkstatus.h index 1659818f0a..be0a86cdd8 100644 --- a/src/or/networkstatus.h +++ b/src/or/networkstatus.h @@ -99,5 +99,9 @@ document_signature_t *document_signature_dup(const document_signature_t *sig); void networkstatus_free_all(void); int networkstatus_get_weight_scale_param(networkstatus_t *ns); +#ifdef NETWORKSTATUS_PRIVATE +STATIC void vote_routerstatus_free(vote_routerstatus_t *rs); +#endif + #endif |