vapor-community / sockets

🔌 Non-blocking TCP socket layer, with event-driven server and client.
MIT License
575 stars 54 forks source link

freeaddrinfo in a defer block #106

Closed codetalks-new closed 7 years ago

codetalks-new commented 7 years ago

I feel freeaddrinfo in a defer block would be better.

codecov-io commented 7 years ago

Codecov Report

Merging #106 into master will increase coverage by 0.02%.

@@            Coverage Diff            @@
##           master    #106      +/-   ##
=========================================
+ Coverage   66.18%   66.2%   +0.02%     
=========================================
  Files          29      29              
  Lines        1384    1385       +1     
=========================================
+ Hits          916     917       +1     
  Misses        468     468
Impacted Files Coverage Δ
Sources/SocksCore/Address+C.swift 83.01% <100%> (+0.32%) :white_check_mark:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update b47313f...dd9da7e. Read the comment docs.