diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-04-18 22:56:34 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-04-18 22:56:34 -0400 |
commit | b7dd3518b98a6473f78138f8abfdc3372f2339f6 (patch) | |
tree | 9909e5633daef498bb320a76e0b206b8e6b82b55 /src/test/test_consdiff.c | |
parent | afe1af7de6787e1f63dadde798b7f806be0c138b (diff) | |
download | tor-b7dd3518b98a6473f78138f8abfdc3372f2339f6.tar.gz tor-b7dd3518b98a6473f78138f8abfdc3372f2339f6.zip |
missing smartlist_free in new consdiff test
Diffstat (limited to 'src/test/test_consdiff.c')
-rw-r--r-- | src/test/test_consdiff.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_consdiff.c b/src/test/test_consdiff.c index 91986161c9..a1a51ec77a 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); |