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 2016/05/31 16:56:54 UTC
qpid-dispatch git commit: DISPATCH-356 - Added a null check in
qd_server_listener_close
Repository: qpid-dispatch
Updated Branches:
refs/heads/master 87d0a406c -> 724600022
DISPATCH-356 - Added a null check in qd_server_listener_close
Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/72460002
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/72460002
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/72460002
Branch: refs/heads/master
Commit: 724600022282fe23c3f27d0072906026bed48dd0
Parents: 87d0a40
Author: Ganesh Murthy <gm...@redhat.com>
Authored: Tue May 31 12:56:25 2016 -0400
Committer: Ganesh Murthy <gm...@redhat.com>
Committed: Tue May 31 12:56:25 2016 -0400
----------------------------------------------------------------------
src/server.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/72460002/src/server.c
----------------------------------------------------------------------
diff --git a/src/server.c b/src/server.c
index 9e7a0d8..d3dd489 100644
--- a/src/server.c
+++ b/src/server.c
@@ -1611,7 +1611,8 @@ void qd_server_listener_free(qd_listener_t* li)
void qd_server_listener_close(qd_listener_t* li)
{
- qdpn_listener_close(li->pn_listener);
+ if (li)
+ qdpn_listener_close(li->pn_listener);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org