Fix double-free bug in microdesc parser

This commit is contained in:
cypherpunks
2011-04-27 11:10:56 -07:00
committed by Nick Mathewson
parent 0f48e8fa9a
commit 247cbab6c8
2 changed files with 8 additions and 0 deletions
+1
View File
@@ -4357,6 +4357,7 @@ microdescs_parse_from_string(const char *s, const char *eos,
md = NULL;
next:
microdesc_free(md);
md = NULL;
memarea_clear(area);
smartlist_clear(tokens);