]> git.ipfire.org Git - thirdparty/bind9.git/commit
cocci: Add semantic patch to refactor dns_message_destroy()
authorDiego Fronza <diego@isc.org>
Mon, 21 Sep 2020 21:19:49 +0000 (18:19 -0300)
committerMark Andrews <marka@isc.org>
Wed, 30 Sep 2020 01:35:23 +0000 (11:35 +1000)
commit46f22df54cb3b84f6577b007bfa6edeb7441c07e
tree1918e6a51679b1ecc4daf57659fb748aa8945127
parentf55768147201f3653503227a63bb085749e4dc15
cocci: Add semantic patch to refactor dns_message_destroy()

dns_message_t objects are now being handled using reference counting
semantics, so now dns_message_destroy() is not called directly anymore,
dns_message_detach must be called instead.

(cherry picked from commit 7deaf9a93cba04460cacf453279ee87f0dc6d8cb)
bin/tests/optional/gsstest.c
bin/tests/optional/sig0_test.c
cocci/dns_message_destroy.spatch [new file with mode: 0644]