]> git.kaiwu.me - njs.git/commit
Fixed fd leakage in njs_process_file().
authorDmitry Volyntsev <xeioex@nginx.com>
Fri, 1 Sep 2017 15:51:20 +0000 (18:51 +0300)
committerDmitry Volyntsev <xeioex@nginx.com>
Fri, 1 Sep 2017 15:51:20 +0000 (18:51 +0300)
commit7a3fa91165b25b57a6d2a1c10c1d06f4e588e049
treec564c94310430adc0f3497227af4def3bb2d899a
parente72a08f5b1da8a155a6e0f72dcbf0947d5964399
Fixed fd leakage in njs_process_file().

Initially, njs_process_file() was not designed to be invoked multiple
times. Making it reusable by releasing the resources used.
njs/njs.c