mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-24 06:48:05 +01:00
Fix a leak in test_microdesc (CID 1311631)
This commit is contained in:
parent
d18215ed16
commit
8507d75c82
1 changed files with 1 additions and 1 deletions
|
@ -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[] = {
|
||||
|
|
Loading…
Add table
Reference in a new issue