Explorar el Código

fix massive memory leak
(50 megabytes over a couple of days, on the dirservers)


svn:r4181

Roger Dingledine hace 20 años
padre
commit
cee7c5988c
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/or/routerlist.c

+ 1 - 0
src/or/routerlist.c

@@ -693,6 +693,7 @@ void routerinfo_free(routerinfo_t *router)
   tor_free(router->address);
   tor_free(router->nickname);
   tor_free(router->platform);
+  tor_free(router->contact_info);
   if (router->onion_pkey)
     crypto_free_pk_env(router->onion_pkey);
   if (router->identity_pkey)