diff options
author | Sanju Rakonde <srakonde@redhat.com> | 2018-09-20 11:37:36 +0530 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2018-09-22 13:29:33 +0000 |
commit | 27402fcb27a7e9ea32a6a04fdc21b59af6320bb4 (patch) | |
tree | 29d68a69e31063d2225af171b17c38bcee8935a5 /xlators/mgmt/glusterd/src/glusterd-snapshot-utils.h | |
parent | f72f18b3bf7f9535827a059a5090476b3141723f (diff) |
glusterd: fix coverity issues in glusterd-locks.c
This patch addresses CID 1395254, CID 1382436.
We are allocating memory to mgmt_lock_timer and key_dup. while doing
GF_VALIDATE_OR_GOTO for mgmt_lock_timer_xl or mgmt_lock_timer_ctx,
if it is null going to out without freeing the memory. This patch
will fix the issues.
updates: bz#789278
Change-Id: Ic6bfb2052982b16373f90cbbc53d2b2da052c01f
Signed-off-by: Sanju Rakonde <srakonde@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-snapshot-utils.h')
0 files changed, 0 insertions, 0 deletions