]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix RPZ reference counting error on shutdown
authorAram Sargsyan <aram@isc.org>
Mon, 13 Feb 2023 14:47:09 +0000 (14:47 +0000)
committerAram Sargsyan <aram@isc.org>
Tue, 14 Feb 2023 09:12:53 +0000 (09:12 +0000)
commitafbe63565fa444f13359425554c871cc924d9547
tree27e7803d4be39064162d2da32b3cf81bb044bdc4
parentb274d388f16bfcce7c8e4debfa319d6d3d1fcf5c
Fix RPZ reference counting error on shutdown

A dns_rpz_unref_rpzs() call is missing when taking the 'goto unlock;'
path on shutdown, in order to compensate for the earlier
dns_rpz_ref_rpzs() call.

Move the dns_rpz_ref_rpzs() call after the shutdown check.
lib/dns/rpz.c