浏览代码

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


svn:r4181

Roger Dingledine 20 年之前
父节点
当前提交
cee7c5988c
共有 1 个文件被更改,包括 1 次插入0 次删除
  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)