Skip to content

Commit f8e00ed

Browse files
author
10255046
committed
Fixes:issue4603
Signed-off-by: 10255046 <[email protected]>
1 parent c440132 commit f8e00ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

xlators/mgmt/glusterd/src/glusterd-locks.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -584,8 +584,10 @@ glusterd_mgmt_v3_lock(const char *name, uuid_t uuid, uint32_t *op_errno,
584584
if (ret) {
585585
gf_msg(this->name, GF_LOG_ERROR, 0, GD_MSG_DICT_SET_FAILED,
586586
"Unable to set timer in mgmt_v3 lock");
587+
dict_del(priv->mgmt_v3_lock, key_dup);
587588
GF_FREE(key_dup);
588589
GF_FREE(mgmt_lock_timer);
590+
GF_FREE(lock_obj);
589591
goto out;
590592
}
591593

0 commit comments

Comments
 (0)