mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix double-free bug in microdesc parser
This commit is contained in:
committed by
Nick Mathewson
parent
0f48e8fa9a
commit
247cbab6c8
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user