mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2025-02-25 07:07:52 +01:00
Fix a memory-leak in fuzz_vrs.c
This commit is contained in:
parent
ec1b8020d5
commit
77788fa537
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue