aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/test/test_microdesc.c2
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[] = {