diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-07-11 16:47:21 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-07-11 16:47:25 -0400 |
commit | 8507d75c8231a3af372beb0c695af078b4e27a7b (patch) | |
tree | 59ae0c27e2b0c0b516e497da9a99c98373512549 /src | |
parent | d18215ed1640b5a7dcbb81588ef5a173a22200f3 (diff) | |
download | tor-8507d75c8231a3af372beb0c695af078b4e27a7b.tar.gz tor-8507d75c8231a3af372beb0c695af078b4e27a7b.zip |
Fix a leak in test_microdesc (CID 1311631)
Diffstat (limited to 'src')
-rw-r--r-- | src/test/test_microdesc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_microdesc.c b/src/test/test_microdesc.c index a4b9a0cc05..b205eff24e 100644 --- a/src/test/test_microdesc.c +++ b/src/test/test_microdesc.c @@ -834,10 +834,10 @@ test_md_corrupt_desc(void *arg) cp, cp+strlen(cp), SAVED_IN_JOURNAL, 0, time(NULL), NULL); tt_int_op(smartlist_len(sl), ==, 0); - smartlist_free(sl); done: tor_free(cp); + smartlist_free(sl); } struct testcase_t microdesc_tests[] = { |