[tor-commits] [tor/master] missing smartlist_free in new consdiff test
nickm at torproject.org
nickm at torproject.org
Wed Apr 19 02:56:44 UTC 2017
commit b7dd3518b98a6473f78138f8abfdc3372f2339f6
Author: Nick Mathewson <nickm at torproject.org>
Date: Tue Apr 18 22:56:34 2017 -0400
missing smartlist_free in new consdiff test
---
src/test/test_consdiff.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/test/test_consdiff.c b/src/test/test_consdiff.c
index 9198616..a1a51ec 100644
--- a/src/test/test_consdiff.c
+++ b/src/test/test_consdiff.c
@@ -622,6 +622,8 @@ test_consdiff_gen_ed_diff(void *arg)
tt_str_eq_line(".", smartlist_get(diff, 5));
tt_str_eq_line("2d", smartlist_get(diff, 6));
+ smartlist_free(diff);
+
smartlist_clear(cons1);
smartlist_clear(cons2);
consensus_split_lines(cons1, "B\n", area);
More information about the tor-commits
mailing list