diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2019-02-21 12:32:44 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2019-02-26 03:46:46 +0100 |
commit | 09ba4778d8a8d36b652c714c2cc6557b7e945ee2 (patch) | |
tree | 7202820efa10931d22d9ed2a15f6d55f12c7df25 /docs/src | |
parent | bcef1c16fb5a36b499b46d6b0a22d625fefdaeed (diff) | |
download | libuv-09ba4778d8a8d36b652c714c2cc6557b7e945ee2.tar.gz libuv-09ba4778d8a8d36b652c714c2cc6557b7e945ee2.zip |
bsd: plug uv_fs_event_start() error path fd leak
Close the watched file's file descriptor when initialization fails due
to out-of-memory conditions.
PR-URL: https://github.com/libuv/libuv/pull/2197
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
Diffstat (limited to 'docs/src')
0 files changed, 0 insertions, 0 deletions