Skip to content

Fix RPZ reference counting error on shutdown

Arаm Sаrgsyаn requested to merge 3866-fix-rpz-reference-counting-bug into main

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.

Closes #3866 (closed)

Merge request reports