From 1c8cf617f9911148499f1a46ad91969d8a58a26e Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 1 Mar 2012 18:22:16 -0800 Subject: [PATCH] windows: initialize ares handles list We need to initialize the ares handles linked list or else bad things can happen when we try to perform async lookups. --- src/win/core.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/win/core.c b/src/win/core.c index 8b44540a..accacc5a 100644 --- a/src/win/core.c +++ b/src/win/core.c @@ -59,6 +59,7 @@ static void uv_init(void) { static void uv_loop_init(uv_loop_t* loop) { + loop->uv_ares_handles_ = NULL; /* Create an I/O completion port */ loop->iocp = CreateIoCompletionPort(INVALID_HANDLE_VALUE, NULL, 0, 1); if (loop->iocp == NULL) {