summary refs log tree commit diff stats
path: root/tests/async/twinasyncrw.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/async/twinasyncrw.nim')
-rw-r--r--tests/async/twinasyncrw.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/async/twinasyncrw.nim b/tests/async/twinasyncrw.nim
index 64c5d6c26..6763eb5a2 100644
--- a/tests/async/twinasyncrw.nim
+++ b/tests/async/twinasyncrw.nim
@@ -46,7 +46,7 @@ when defined(windows):
           success = false
       it = it.ai_next
 
-    dealloc(aiList)
+    freeAddrInfo(aiList)
     if not success:
       retFuture.fail(newException(OSError, osErrorMsg(lastError)))
     return retFuture