浏览代码

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",
              conn_type_to_string(type), conn->address, conn->port);
       smartlist_remove(launch, line);
+      if (free_launch_elts)
+        config_free_lines(line);
     }
   }