Explorar o código

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

svn:r8502
Nick Mathewson %!s(int64=19) %!d(string=hai) anos
pai
achega
52e179b942
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  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. */
   }