You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by GitBox <gi...@apache.org> on 2019/03/11 19:18:24 UTC

[GitHub] [qpid-dispatch] kgiusti commented on a change in pull request #462: DISPATCH-1276 - Added a cleanup function qdrc_address_endpoint_cleanu…

kgiusti commented on a change in pull request #462: DISPATCH-1276 - Added a cleanup function qdrc_address_endpoint_cleanu…
URL: https://github.com/apache/qpid-dispatch/pull/462#discussion_r264389401
 
 

 ##########
 File path: src/router_core/modules/edge_addr_tracking/edge_addr_tracking.c
 ##########
 @@ -133,16 +130,25 @@ static void qdrc_address_endpoint_on_first_detach(void *link_context,
 {
     qdr_addr_endpoint_state_t *endpoint_state  = (qdr_addr_endpoint_state_t *)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;
-    if (endpoint_state->link) {
-        endpoint_state->link->edge_context = 0;
-        endpoint_state->link = 0;
+}
 
 Review comment:
   Free error is missing

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org