summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-handshake.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-handshake.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-handshake.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-handshake.c b/xlators/mgmt/glusterd/src/glusterd-handshake.c
index 5b1ea8dcbb3..5599a639f53 100644
--- a/xlators/mgmt/glusterd/src/glusterd-handshake.c
+++ b/xlators/mgmt/glusterd/src/glusterd-handshake.c
@@ -2131,6 +2131,9 @@ glusterd_mgmt_handshake(xlator_t *this, glusterd_peerctx_t *peerctx)
unlock:
RCU_READ_UNLOCK;
out:
+ if (req_dict)
+ dict_unref(req_dict);
+
if (ret && frame)
STACK_DESTROY(frame->root);