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 2020/07/31 18:13:41 UTC

[GitHub] [qpid-dispatch] ganeshmurthy commented on a change in pull request #803: DISPATCH-1733 - Free leaking qdr_connection_t when the router core ac…

ganeshmurthy commented on a change in pull request #803:
URL: https://github.com/apache/qpid-dispatch/pull/803#discussion_r463758935



##########
File path: src/router_core/connections.c
##########
@@ -1381,6 +1381,10 @@ static void qdr_connection_opened_CT(qdr_core_t *core, qdr_action_t *action, boo
         qdrc_event_conn_raise(core, QDRC_EVENT_CONN_OPENED, conn);
     }
 
+    if (discard && conn) {

Review comment:
       Thanks @kgiusti I have added code to check conn and discard at the top of the functions like other action routines and also dropped a level of indentation. The diff looks weird because of dropping one level of  indentation




----------------------------------------------------------------
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



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