You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by jd...@apache.org on 2021/07/09 16:06:28 UTC
[qpid-dispatch] branch main updated: DISPATCH-2051 Free dispatch
struct char * attributes (#1290)
This is an automated email from the ASF dual-hosted git repository.
jdanek pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git
The following commit(s) were added to refs/heads/main by this push:
new 6d54678 DISPATCH-2051 Free dispatch struct char * attributes (#1290)
6d54678 is described below
commit 6d546780da043b72959d6fa65004402e254c75cd
Author: Jiri Daněk <jd...@redhat.com>
AuthorDate: Fri Jul 9 18:06:22 2021 +0200
DISPATCH-2051 Free dispatch struct char * attributes (#1290)
---
src/connection_manager.c | 2 ++
src/dispatch.c | 4 ++++
2 files changed, 6 insertions(+)
diff --git a/src/connection_manager.c b/src/connection_manager.c
index a3838e0..a8002e7 100644
--- a/src/connection_manager.c
+++ b/src/connection_manager.c
@@ -993,6 +993,8 @@ void qd_connection_manager_free(qd_connection_manager_t *cm)
config_sasl_plugin_free(cm, saslp);
saslp = DEQ_HEAD(cm->config_sasl_plugins);
}
+
+ free(cm);
}
diff --git a/src/dispatch.c b/src/dispatch.c
index 00b1718..a219183 100644
--- a/src/dispatch.c
+++ b/src/dispatch.c
@@ -381,6 +381,10 @@ void qd_dispatch_free(qd_dispatch_t *qd)
qd_python_finalize();
qd_dispatch_set_router_id(qd, NULL);
qd_dispatch_set_router_area(qd, NULL);
+ free(qd->timestamp_format);
+ free(qd->metadata);
+
+ free(qd);
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org