summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd
diff options
context:
space:
mode:
authorAtin Mukherjee <amukherj@redhat.com>2017-11-29 13:17:37 +0530
committerAtin Mukherjee <amukherj@redhat.com>2017-11-29 16:13:47 +0000
commitbd63d164eabba59596f991c2aa7b66b43ed732a8 (patch)
tree562477c880644d0b1aba1a1a5fb0038215aa5707 /xlators/mgmt/glusterd
parentf74112b1298ed9f227e1a0784b1eabbfc9ab4d31 (diff)
glusterd: revert coverity fix for freeing key_dup
key_dup can't be freed here as the same is referenced at the gd_mgmt_v3_unlock_timer_cbk. Change-Id: I85667f98c82d1acebcce59137dfc0dd1ca93b4eb BUG: 789278 Signed-off-by: Atin Mukherjee <amukherj@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-locks.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-locks.c b/xlators/mgmt/glusterd/src/glusterd-locks.c
index 45667be1894..4e199e186ef 100644
--- a/xlators/mgmt/glusterd/src/glusterd-locks.c
+++ b/xlators/mgmt/glusterd/src/glusterd-locks.c
@@ -699,7 +699,6 @@ glusterd_mgmt_v3_lock (const char *name, uuid_t uuid, uint32_t *op_errno,
ret = 0;
out:
- GF_FREE (key_dup);
gf_msg_trace (this->name, 0, "Returning %d", ret);
return ret;
}