소스 검색

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. */
   }