summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src
diff options
context:
space:
mode:
authorGaurav Yadav <gyadav@redhat.com>2018-03-15 10:27:55 +0530
committerGaurav Yadav <gyadav@redhat.com>2018-03-15 10:30:56 +0530
commit97233b3f69595a7d7a3da3a80a6911b8b4985881 (patch)
tree25d361e2f7d35efd719c25b13cf680dd69464c0e /xlators/mgmt/glusterd/src
parent346714305f9de30d5f78494091770c1555c601bb (diff)
glusterd: glusterd crash in gd_mgmt_v3_unlock_timer_cbk
Memory cleanup of same pointer twice inside gd_mgmt_v3_unlock_timer_cbk causing glusterd to crash. Change-Id: I9147241d995780619474047b1010317a89b9965a BUG: 1550339
Diffstat (limited to 'xlators/mgmt/glusterd/src')
-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 708ebffd2da..b594c436cb7 100644
--- a/xlators/mgmt/glusterd/src/glusterd-locks.c
+++ b/xlators/mgmt/glusterd/src/glusterd-locks.c
@@ -770,7 +770,6 @@ out:
GF_FREE (timer->data);
gf_timer_call_cancel (mgmt_lock_timer_ctx,
mgmt_lock_timer->timer);
- GF_FREE(key);
dict_del (conf->mgmt_v3_lock_timer, bt_key);
mgmt_lock_timer->timer = NULL;
}