From be3b37854e1ad6bf210615b583c3fabe6240abdb Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sun, 4 Sep 2011 18:38:42 -0700 Subject: [PATCH] win: initialize req.path = NULL. --- src/win/fs.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/win/fs.c b/src/win/fs.c index c0ce3f17..4cc597c3 100644 --- a/src/win/fs.c +++ b/src/win/fs.c @@ -97,6 +97,7 @@ static void uv_fs_req_init_async(uv_loop_t* loop, uv_fs_t* req, req->cb = cb; req->result = 0; req->ptr = NULL; + req->path = NULL; /* TODO https://github.com/joyent/libuv/issues/177 */ req->errorno = 0; req->last_error = 0; memset(&req->overlapped, 0, sizeof(req->overlapped));