summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-utils.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c
index 066d2f72f81..38ba20b8fb2 100644
--- a/xlators/mgmt/glusterd/src/glusterd-utils.c
+++ b/xlators/mgmt/glusterd/src/glusterd-utils.c
@@ -1027,6 +1027,11 @@ glusterd_volinfo_delete (glusterd_volinfo_t *volinfo)
if (volinfo->rebal.dict)
dict_unref (volinfo->rebal.dict);
+ /* Destroy the connection object for per volume svc daemons */
+ glusterd_conn_term (&volinfo->snapd.svc.conn);
+ glusterd_conn_term (&volinfo->tierd.svc.conn);
+ glusterd_conn_term (&volinfo->gfproxyd.svc.conn);
+
gf_store_handle_destroy (volinfo->quota_conf_shandle);
gf_store_handle_destroy (volinfo->shandle);
gf_store_handle_destroy (volinfo->node_state_shandle);