Fix a memory-leak in fuzz_vrs.c

This commit is contained in:
Nick Mathewson 2017-02-01 10:57:01 -05:00
parent ec1b8020d5
commit 77788fa537

View File

@ -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;
}