浏览代码

Trivial fix to make dmalloc happier: release memory held in static member of escaped().

svn:r8502
Nick Mathewson 19 年之前
父节点
当前提交
52e179b942
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/or/main.c

+ 2 - 1
src/or/main.c

@@ -1569,7 +1569,8 @@ tor_free_all(int postfork)
   /* stuff in main.c */
   smartlist_free(closeable_connection_lst);
   tor_free(timeout_event);
-
+  /* Stuff in util.c */
+  escaped(NULL);
   if (!postfork) {
     close_logs(); /* free log strings. do this last so logs keep working. */
   }