浏览代码

Free memory from getaddrinfo()

We handled this in the failure scenario, but not in the vastly more
common successful case.
tags/v1.10.90
Pierre Ossman 3 年前
父节点
当前提交
cbe0ddc28c
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2
    0
      common/network/TcpSocket.cxx

+ 2
- 0
common/network/TcpSocket.cxx 查看文件

@@ -459,6 +459,8 @@ void network::createTcpListeners(std::list<SocketListener*> *listeners,
freeaddrinfo(ai);
throw;
}

freeaddrinfo(ai);
}

void network::createTcpListeners(std::list<SocketListener*> *listeners,

正在加载...
取消
保存