Commit bc9df87
committed
Free req.file.pathw in fs::ReadFileUtf8().
Always call uv_fs_req_cleanup after calling uv_fs_open instead of just
when uv_fs_open returns a negative result. I referenced ReadFileSync
from node:js2c when making this change.
https://github.com/bnoordhuis made the same suggestion based on the
PR #49691.
Fixes: #578001 parent 038d829 commit bc9df87
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2711 | 2711 | | |
2712 | 2712 | | |
2713 | 2713 | | |
2714 | | - | |
2715 | 2714 | | |
2716 | 2715 | | |
2717 | 2716 | | |
| 2717 | + | |
2718 | 2718 | | |
2719 | 2719 | | |
2720 | 2720 | | |
| |||
0 commit comments