commit b6a725c67e46d274a518b6c5243fffdf1730a23f Author: Nick Mathewson <ni...@torproject.org> Date: Thu Aug 21 10:18:17 2014 -0400
Fix memory leaks in test_entrynodes.c [Coverity CID 1232087 and 1232088] --- src/test/test_entrynodes.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/test_entrynodes.c b/src/test/test_entrynodes.c index fbb7625..fab82c3 100644 --- a/src/test/test_entrynodes.c +++ b/src/test/test_entrynodes.c @@ -431,6 +431,7 @@ test_entry_guards_parse_state_simple(void *arg) done: state_lines_free(entry_state_lines); or_state_free(state); + tor_free(msg); } /** Similar to test_entry_guards_parse_state_simple() but aims to test @@ -515,6 +516,7 @@ test_entry_guards_parse_state_pathbias(void *arg) done: or_state_free(state); state_lines_free(entry_state_lines); + tor_free(msg); } /* Simple test of entry_guards_set_from_config() by specifying a _______________________________________________ tor-commits mailing list tor-commits@lists.torproject.org https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits