From 09e66bbd14ed1f59cf5a79f179536b7f8be87487 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Wed, 7 Apr 2004 22:25:37 +0000 Subject: [PATCH] Freeing the same variable twice in rapid succession can sometimes cause a double-free svn:r1539 --- src/or/routerlist.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/or/routerlist.c b/src/or/routerlist.c index 40710b8a2b..5814379537 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); }