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

chug 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 d3578e6  DISPATCH-1618: free policy settings during server shutdown
d3578e6 is described below

commit d3578e66f41a87a3dc5dcbe9585d03b99335fe4f
Author: Chuck Rolke <c...@apache.org>
AuthorDate: Mon Apr 13 15:57:52 2020 -0400

    DISPATCH-1618: free policy settings during server shutdown
---
 src/server.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/server.c b/src/server.c
index 6d6d289..b3a553e 100644
--- a/src/server.c
+++ b/src/server.c
@@ -1291,6 +1291,8 @@ void qd_server_free(qd_server_t *qd_server)
         sys_mutex_free(ctx->deferred_call_lock);
         free(ctx->name);
         free(ctx->role);
+        if (ctx->policy_settings)
+            free_qd_policy_settings_t(ctx->policy_settings);
         free_qd_connection_t(ctx);
         ctx = DEQ_HEAD(qd_server->conn_list);
     }


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

Reply via email to