chiark / gitweb /
Properly fix bug with cancelling children.
[adns.git] / src / check.c
index 84fe168cd6cac54259793bde2b0892d8ab099d63..04c5c8e0c30dee087511ae3d0a9ba1400942ef62 100644 (file)
@@ -136,6 +136,7 @@ static void checkc_queue_output(adns_state ads) {
     assert(qu->state == query_done);
     assert(!qu->children.head && !qu->children.tail);
     assert(!qu->parent);
+    assert(!qu->allocations.head && !qu->allocations.tail);
     checkc_query(ads,qu);
   });
 }