소스 검색

and another leak.

svn:r5175
Nick Mathewson 20 년 전
부모
커밋
6e4608701d
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      src/or/connection.c

+ 2 - 0
src/or/connection.c

@@ -886,6 +886,8 @@ retry_listeners(int type, config_line_t *cfg,
       log_fn(LOG_INFO, "Already have %s on %s:%d",
       log_fn(LOG_INFO, "Already have %s on %s:%d",
              conn_type_to_string(type), conn->address, conn->port);
              conn_type_to_string(type), conn->address, conn->port);
       smartlist_remove(launch, line);
       smartlist_remove(launch, line);
+      if (free_launch_elts)
+        config_free_lines(line);
     }
     }
   }
   }