diff options
author | Nick Mathewson <nickm@torproject.org> | 2014-08-21 10:18:17 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2014-08-21 10:18:17 -0400 |
commit | b6a725c67e46d274a518b6c5243fffdf1730a23f (patch) | |
tree | de295bf7dc585254e3a52e18a9b568b101bc1fa5 | |
parent | 2cf229ab60b43c79289292f918f671ae6fec5da4 (diff) | |
download | tor-b6a725c67e46d274a518b6c5243fffdf1730a23f.tar.gz tor-b6a725c67e46d274a518b6c5243fffdf1730a23f.zip |
Fix memory leaks in test_entrynodes.c
[Coverity CID 1232087 and 1232088]
-rw-r--r-- | src/test/test_entrynodes.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 |