windows: fix memory leak in fs__sendfile
This commit is contained in:
parent
e1ffc6c0ee
commit
7570a35b70
@ -1048,6 +1048,8 @@ static void fs__sendfile(uv_fs_t* req) {
|
||||
}
|
||||
}
|
||||
|
||||
free(buf);
|
||||
|
||||
SET_REQ_RESULT(req, result);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user