mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Freeing the same variable twice in rapid succession can sometimes cause a double-free
svn:r1539
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user