diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-04-26 00:10:04 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-04-26 00:10:04 -0400 |
commit | c7951731ed1bcc06d1eb404bd699cc0e0392e626 (patch) | |
tree | 9622bfee17298b716e3ea7dc3a9c1fa093704d5f /src/or/statefile.h | |
parent | d2147cc7ba5c5d5114bae61000cbf757353c3ed6 (diff) | |
download | tor-c7951731ed1bcc06d1eb404bd699cc0e0392e626.tar.gz tor-c7951731ed1bcc06d1eb404bd699cc0e0392e626.zip |
Fix memory leaks in test_circuit_timeout
Found with valgrind.
Diffstat (limited to 'src/or/statefile.h')
-rw-r--r-- | src/or/statefile.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/or/statefile.h b/src/or/statefile.h index c1413ff952..15bb0b4aae 100644 --- a/src/or/statefile.h +++ b/src/or/statefile.h @@ -20,6 +20,8 @@ void or_state_free_all(void); #ifdef STATEFILE_PRIVATE STATIC config_line_t *get_transport_in_state_by_name(const char *transport); +STATIC void or_state_free(or_state_t *state); +STATIC or_state_t *or_state_new(void); #endif #endif |