From b6a725c67e46d274a518b6c5243fffdf1730a23f Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Thu, 21 Aug 2014 10:18:17 -0400 Subject: Fix memory leaks in test_entrynodes.c [Coverity CID 1232087 and 1232088] --- src/test/test_entrynodes.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/test/test_entrynodes.c') diff --git a/src/test/test_entrynodes.c b/src/test/test_entrynodes.c index fbb7625f84..fab82c3446 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 -- cgit v1.2.3-54-g00ecf