Explorar el Código

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

svn:r1539
Nick Mathewson hace 21 años
padre
commit
09e66bbd14
Se han modificado 1 ficheros con 0 adiciones y 1 borrados
  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);
 }