diff options
Diffstat (limited to 'sbin/unwind/libunbound/validator/val_neg.c')
-rw-r--r-- | sbin/unwind/libunbound/validator/val_neg.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sbin/unwind/libunbound/validator/val_neg.c b/sbin/unwind/libunbound/validator/val_neg.c index c494a6be637..4c08e6bbc92 100644 --- a/sbin/unwind/libunbound/validator/val_neg.c +++ b/sbin/unwind/libunbound/validator/val_neg.c @@ -235,6 +235,7 @@ void neg_delete_data(struct val_neg_cache* neg, struct val_neg_data* el) /* remove it from the lru list */ neg_lru_remove(neg, el); + log_assert(neg->first != el && neg->last != el); /* go up the tree and reduce counts */ p = el; |