From 375adca57c91f0c4d6111a5230f898ee36342d52 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 --- trunk/src/or/routerlist.c | 1 - 1 file changed, 1 deletion(-) diff --git a/trunk/src/or/routerlist.c b/trunk/src/or/routerlist.c index 40710b8a2b..5814379537 100644 --- a/trunk/src/or/routerlist.c +++ b/trunk/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); }