summaryrefslogtreecommitdiff
path: root/validator/val_neg.c
diff options
context:
space:
mode:
Diffstat (limited to 'validator/val_neg.c')
-rw-r--r--validator/val_neg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/validator/val_neg.c b/validator/val_neg.c
index c494a6be637f..4c08e6bbc92f 100644
--- a/validator/val_neg.c
+++ b/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;