summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-utils.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c
index dbc8775e0d4..e627dcfcc2b 100644
--- a/xlators/mgmt/glusterd/src/glusterd-utils.c
+++ b/xlators/mgmt/glusterd/src/glusterd-utils.c
@@ -1026,6 +1026,10 @@ 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);
+
gf_store_handle_destroy (volinfo->quota_conf_shandle);
gf_store_handle_destroy (volinfo->shandle);
gf_store_handle_destroy (volinfo->node_state_shandle);