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 2018/05/01 19:05:02 UTC

[3/3] qpid-dispatch git commit: DISPATCH-986 - Coverity fixes. This closes #297

DISPATCH-986 - Coverity fixes. This closes #297


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

Branch: refs/heads/1.1.x
Commit: 4fb04f463c6b0f9e1b8b0d9b1b9f2dfa87df12b7
Parents: 8dac02a
Author: Ganesh Murthy <gm...@redhat.com>
Authored: Tue May 1 14:57:56 2018 -0400
Committer: Ganesh Murthy <gm...@redhat.com>
Committed: Tue May 1 14:59:52 2018 -0400

----------------------------------------------------------------------
 src/connection_manager.c | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/4fb04f46/src/connection_manager.c
----------------------------------------------------------------------
diff --git a/src/connection_manager.c b/src/connection_manager.c
index b846c98..628379f 100644
--- a/src/connection_manager.c
+++ b/src/connection_manager.c
@@ -595,6 +595,9 @@ qd_config_sasl_plugin_t *qd_dispatch_configure_sasl_plugin(qd_dispatch_t *qd, qd
         }
     }
 
+    free(auth_host);
+    free(auth_port);
+
     if (!sasl_plugin->auth_service) {
         sasl_plugin->auth_service               = qd_entity_opt_string(entity, "authService", 0); CHECK();
         qd_log(cm->log_source, QD_LOG_WARNING, "Attribute authService of entity authServicePlugin has been deprecated. Use host and port instead.");


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