Commit 5eedd365 authored by Mark Andrews's avatar Mark Andrews Committed by Matthijs Mekking

Insist that kasp is not linked.

parent f11ce448
......@@ -82,6 +82,8 @@ destroy(dns_kasp_t *kasp) {
dns_kasp_key_t *key;
dns_kasp_key_t *key_next;
for (key = ISC_LIST_HEAD(kasp->keys); key != NULL; key = key_next) {
key_next = ISC_LIST_NEXT(key, link);
ISC_LIST_UNLINK(kasp->keys, key, link);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment