]> git.ipfire.org Git - thirdparty/unbound.git/commitdiff
- Fix unbound-control dump_cache for double unlock of lruhash table.
authorW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 27 Aug 2025 14:55:38 +0000 (16:55 +0200)
committerW.C.A. Wijngaards <wouter@nlnetlabs.nl>
Wed, 27 Aug 2025 14:55:38 +0000 (16:55 +0200)
daemon/cachedump.c

index 941cb9dfc9fde23833b78c55445a478d8852a186..f0a693bf6f8e2fc04b08d8bd889eef51c03fb6bc 100644 (file)
@@ -203,7 +203,6 @@ dump_lruhash(struct lruhash* table,
                        }
                        if(!found) {
                                not_done = 0;
-                               lock_quick_unlock(&table->lock);
                                break;
                        }
                }