Github user ganeshmurthy commented on a diff in the pull request:
https://github.com/apache/qpid-dispatch/pull/108#discussion_r87621680
--- Diff: src/connection_manager.c ---
@@ -98,9 +98,13 @@ static void qd_server_config_free(qd_server_config_t *cf)
if (!cf) return;
free(cf->host);
free(cf->port);
- free(cf->name);
free(cf->role);
- free(cf->sasl_mechanisms);
+ if (cf->name) free(cf->name);
--- End diff --
This is a good change. It makes sure that it frees all the components of
qd_server_config_t
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]