summary refs log tree commit diff stats
path: root/lib/upcoming
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2017-01-30 08:50:51 +0100
committerAndreas Rumpf <rumpf_a@web.de>2017-01-30 08:50:57 +0100
commit76eb20d2d3533588fcce6aa3e121f63d0ef87eea (patch)
treebe75da3c913f916952a2c86167a8cb06fdf9eb2b /lib/upcoming
parent9f6f78ac6136a2d793fd20ca81e8cfaa8d1e1f28 (diff)
downloadNim-76eb20d2d3533588fcce6aa3e121f63d0ef87eea.tar.gz
deprecated nativesockets.dealloc, use freeAddrInfo instead; fixed stdlib deprecations
Diffstat (limited to 'lib/upcoming')
-rw-r--r--lib/upcoming/asyncdispatch.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/upcoming/asyncdispatch.nim b/lib/upcoming/asyncdispatch.nim
index 17ddb1a82..31aa6c9cb 100644
--- a/lib/upcoming/asyncdispatch.nim
+++ b/lib/upcoming/asyncdispatch.nim
@@ -378,7 +378,7 @@ when defined(windows) or defined(nimdoc):
           success = false
       it = it.ai_next
 
-    dealloc(aiList)
+    freeAddrInfo(aiList)
     if not success:
       retFuture.fail(newException(OSError, osErrorMsg(lastError)))
     return retFuture
@@ -1348,7 +1348,7 @@ else:
           success = false
       it = it.ai_next
 
-    dealloc(aiList)
+    freeAddrInfo(aiList)
     if not success:
       retFuture.fail(newException(OSError, osErrorMsg(lastError)))
     return retFuture