diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-04-07 22:25:37 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-04-07 22:25:37 +0000 |
commit | 09e66bbd14ed1f59cf5a79f179536b7f8be87487 (patch) | |
tree | 9168073bb13836f130aacd0043c13ccda7cd665c /src | |
parent | 6649645f0978a88c8bd28a1299d7b65a8e3becf2 (diff) | |
download | tor-09e66bbd14ed1f59cf5a79f179536b7f8be87487.tar tor-09e66bbd14ed1f59cf5a79f179536b7f8be87487.tar.gz |
Freeing the same variable twice in rapid succession can sometimes cause a double-free
svn:r1539
Diffstat (limited to 'src')
-rw-r--r-- | src/or/routerlist.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 40710b8a2..581437953 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -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); } |