]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
[9.18] fix: dev: Prevent a reference leak when using plugins
authorEvan Hunt <each@isc.org>
Wed, 26 Feb 2025 00:59:10 +0000 (00:59 +0000)
committerEvan Hunt <each@isc.org>
Wed, 26 Feb 2025 00:59:10 +0000 (00:59 +0000)
The `NS_QUERY_DONE_BEGIN` and `NS_QUERY_DONE_SEND` plugin hooks could cause a reference leak if they returned `NS_HOOK_RETURN` without cleaning up the query context properly.

Closes #2094

Backport of MR !9971

Merge branch 'backport-2094-plugin-reference-leak-9.18' into 'bind-9.18'

See merge request isc-projects/bind9!10171


Trivial merge