commit 77788fa5374448fe6e12ab9bf7672d8187f73997 Author: Nick Mathewson nickm@torproject.org Date: Wed Feb 1 10:57:01 2017 -0500
Fix a memory-leak in fuzz_vrs.c --- src/test/fuzz/fuzz_vrs.c | 2 ++ 1 file changed, 2 insertions(+)
diff --git a/src/test/fuzz/fuzz_vrs.c b/src/test/fuzz/fuzz_vrs.c index d2c0369..9301a9b 100644 --- a/src/test/fuzz/fuzz_vrs.c +++ b/src/test/fuzz/fuzz_vrs.c @@ -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; }