- Fix spurious errors about "Could not generate request: out of

memory".  The mesh detect cycle routine no longer wrongly stops
  the check when the calling mesh state is unique.
This commit is contained in:
W.C.A. Wijngaards 2021-03-04 14:13:44 +01:00
parent 9753f36463
commit 6e4ecf7bc1
2 changed files with 4 additions and 2 deletions

View file

@ -1,5 +1,8 @@
4 March 2021: Wouter
- iana portlist update.
- Fix spurious errors about "Could not generate request: out of
memory". The mesh detect cycle routine no longer wrongly stops
the check when the calling mesh state is unique.
26 February 2021: George
- Fix for #367: rc_ports don't have ub_sock; skip cleaning up.

View file

@ -1813,8 +1813,7 @@ mesh_detect_cycle(struct module_qstate* qstate, struct query_info* qinfo,
{
struct mesh_area* mesh = qstate->env->mesh;
struct mesh_state* dep_m = NULL;
if(!mesh_state_is_unique(qstate->mesh_info))
dep_m = mesh_area_find(mesh, NULL, qinfo, flags, prime, valrec);
dep_m = mesh_area_find(mesh, NULL, qinfo, flags, prime, valrec);
return mesh_detect_cycle_found(qstate, dep_m);
}