mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 06:13:31 +01:00
Freeing the same variable twice in rapid succession can sometimes cause a double-free
svn:r1539
This commit is contained in:
parent
6649645f09
commit
09e66bbd14
@ -400,7 +400,6 @@ static void routerlist_free(routerlist_t *rl)
|
||||
SMARTLIST_FOREACH(rl->routers, routerinfo_t *, r,
|
||||
routerinfo_free(r));
|
||||
smartlist_free(rl->routers);
|
||||
tor_free(rl->routers);
|
||||
tor_free(rl->software_versions);
|
||||
tor_free(rl);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user