qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tr...@apache.org
Subject [7/9] qpid-dispatch git commit: DISPATCH-847 - Fixed Coverity issue 162688 (Null check after dereference)
Date Wed, 04 Oct 2017 14:48:51 GMT
DISPATCH-847 - Fixed Coverity issue 162688 (Null check after dereference)


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/eb877c8b
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/eb877c8b
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/eb877c8b

Branch: refs/heads/master
Commit: eb877c8b246ce7807b3636a79a050eef41c565c2
Parents: d55ef96
Author: Ted Ross <tross@redhat.com>
Authored: Wed Oct 4 10:27:46 2017 -0400
Committer: Ted Ross <tross@redhat.com>
Committed: Wed Oct 4 10:27:46 2017 -0400

----------------------------------------------------------------------
 src/server.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/eb877c8b/src/server.c
----------------------------------------------------------------------
diff --git a/src/server.c b/src/server.c
index e9cdcc3..1c4478b 100644
--- a/src/server.c
+++ b/src/server.c
@@ -771,8 +771,7 @@ void qd_connection_free(qd_connection_t *ctx)
     }
 
     invoke_deferred_calls(ctx, true);  // Discard any pending deferred calls
-    if (ctx->deferred_call_lock)
-        sys_mutex_free(ctx->deferred_call_lock);
+    sys_mutex_free(ctx->deferred_call_lock);
 
     if (ctx->policy_settings) {
         if (ctx->policy_settings->sources)


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


Mime
View raw message