You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gm...@apache.org on 2019/04/12 16:06:12 UTC

[qpid-dispatch] branch master updated: DISPATCH-1319 - Coverity fixes

This is an automated email from the ASF dual-hosted git repository.

gmurthy pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/master by this push:
     new bce3ac6  DISPATCH-1319 - Coverity fixes
bce3ac6 is described below

commit bce3ac6f3e88092556e8004fe41494d21bc60de4
Author: Ganesh Murthy <gm...@redhat.com>
AuthorDate: Fri Apr 12 12:05:52 2019 -0400

    DISPATCH-1319 - Coverity fixes
---
 src/container.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/container.c b/src/container.c
index 22a4286..3b28eda 100644
--- a/src/container.c
+++ b/src/container.c
@@ -310,7 +310,8 @@ static int close_handler(qd_container_t *container, pn_connection_t *conn, qd_co
     if (qd_conn)
         qd_conn->closed = true;
     close_links(container, conn, true);
-    notify_closed(container, qd_conn, qd_connection_get_context(qd_conn));
+    if (qd_conn)
+        notify_closed(container, qd_conn, qd_connection_get_context(qd_conn));
     return 0;
 }
 


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