win: initialize req.path = NULL.

This commit is contained in:
Ryan Dahl 2011-09-04 18:38:42 -07:00
parent e1af07e831
commit be3b37854e

View File

@ -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));