jkorell/iperf

memory leak in netdial()

Closed this issue · 1 comments

What version of the product are you using? On what operating system?

iperf-3.0.tar.gz

Please provide any additional information below.

netdial():
  if socket()/connect() failure, should call freeaddrinfo(server_res) to free server_res before return -1.

Tony


Original issue reported on code.google.com by tony.cai...@gmail.com on 9 Nov 2013 at 8:57

Thanks for noticing. I fixed this, the similar fd leaks, and a few others.

Original comment by jef.posk...@gmail.com on 9 Nov 2013 at 10:28

  • Changed state: Fixed