Browse Source

Freeing the same variable twice in rapid succession can sometimes cause a double-free

svn:r1539
Nick Mathewson 21 years ago
parent
commit
09e66bbd14
1 changed files with 0 additions and 1 deletions
  1. 0 1
      src/or/routerlist.c

+ 0 - 1
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);
 }