kgiusti commented on a change in pull request #433: DISPATCH-1234 - Zero out the edge context on the link before the edge… URL: https://github.com/apache/qpid-dispatch/pull/433#discussion_r245089019
########## File path: src/router_core/modules/edge_addr_tracking/edge_addr_tracking.c ########## @@ -134,6 +135,10 @@ static void qdrc_address_endpoint_on_first_detach(void *link_context, qdrc_endpoint_detach_CT(endpoint_state->mc->core, endpoint_state->endpoint, 0); qdr_addr_tracking_module_context_t *mc = endpoint_state->mc; DEQ_REMOVE(mc->endpoint_state_list, endpoint_state); + endpoint_state->conn = 0; + endpoint_state->endpoint = 0; + endpoint_state->link->edge_context = 0; Review comment: Can (endpoint_state->link) be null? ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org