Browse Source

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


svn:r4181

Roger Dingledine 20 years ago
parent
commit
cee7c5988c
1 changed files with 1 additions and 0 deletions
  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)