Add missing isc_rwlock_destroy() for keylist_lock in dnssec-signzone

The keylist_lock rwlock is initialized at startup but never destroyed
on exit, unlike the sibling namelock mutex which is properly cleaned up.

(cherry picked from commit 5dc19a7d92)
This commit is contained in:
Ondřej Surý 2026-03-10 10:21:04 +01:00 committed by Ondřej Surý
parent b0e8f5ec65
commit b20ddf5c13
No known key found for this signature in database
GPG key ID: 2820F37E873DEA41

View file

@ -4182,6 +4182,7 @@ main(int argc, char *argv[]) {
&sign_finish);
}
isc_mutex_destroy(&namelock);
isc_rwlock_destroy(&keylist_lock);
rcu_barrier();