From c7951731ed1bcc06d1eb404bd699cc0e0392e626 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sat, 26 Apr 2014 00:10:04 -0400 Subject: Fix memory leaks in test_circuit_timeout Found with valgrind. --- src/or/statefile.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/or/statefile.h') diff --git a/src/or/statefile.h b/src/or/statefile.h index c1413ff95..15bb0b4aa 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 -- cgit v1.2.3