diff options
author | Atin Mukherjee <amukherj@redhat.com> | 2017-11-29 13:17:37 +0530 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2017-11-29 16:13:47 +0000 |
commit | bd63d164eabba59596f991c2aa7b66b43ed732a8 (patch) | |
tree | 562477c880644d0b1aba1a1a5fb0038215aa5707 /xlators | |
parent | f74112b1298ed9f227e1a0784b1eabbfc9ab4d31 (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')
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-locks.c | 1 |
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; } |