]> git.kaiwu.me - nginx.git/commit
Fixed memory leak on HUP signal when PCRE JIT was used.
authorValentin Bartenev <vbart@nginx.com>
Mon, 30 Jan 2012 12:53:57 +0000 (12:53 +0000)
committerValentin Bartenev <vbart@nginx.com>
Mon, 30 Jan 2012 12:53:57 +0000 (12:53 +0000)
commitfbf7a0a48adce49480ebb29bc7a6dc957d240863
treee35532953f85a8b6c14bd8bf5ce4675c7c1c805a
parent3feafa765f5c065ec2921ef92c4c32c2dea4736c
Fixed memory leak on HUP signal when PCRE JIT was used.

The PCRE JIT compiler uses mmap to allocate memory for its executable codes, so
we have to explicitly call the pcre_free_study() function to free this memory.
src/core/ngx_regex.c