mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-10 21:23:58 +01:00
Fix a memory-leak in fuzz_vrs.c
This commit is contained in:
parent
ec1b8020d5
commit
77788fa537
@ -38,6 +38,8 @@ fuzz_init(void)
|
||||
int
|
||||
fuzz_cleanup(void)
|
||||
{
|
||||
SMARTLIST_FOREACH(dummy_vote->known_flags, char *, cp, tor_free(cp));
|
||||
smartlist_free(dummy_vote->known_flags);
|
||||
tor_free(dummy_vote);
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user