diff --git a/doc/Changelog b/doc/Changelog index 878ea3aa7..a9c23bcab 100644 --- a/doc/Changelog +++ b/doc/Changelog @@ -7,6 +7,8 @@ with. - Fix for mesh accounting when rpz decides to drop a reply with a tcp stream waiting for it. + - Review fix for number of detached states due to use of variable + after end of loop. 24 June 2020: Wouter - iana portlist updated. diff --git a/services/mesh.c b/services/mesh.c index 12f861c7b..922e6b32e 100644 --- a/services/mesh.c +++ b/services/mesh.c @@ -1992,7 +1992,7 @@ mesh_serve_expired_callback(void* arg) } if(mstate->reply_list) { mstate->reply_list = NULL; - if(!mstate->reply_list && !mstate->cb_list && r) { + if(!mstate->reply_list && !mstate->cb_list) { log_assert(mesh->num_reply_states > 0); mesh->num_reply_states--; if(mstate->super_set.count == 0) {