diff options
author | Sunny Kumar <sunkumar@redhat.com> | 2018-08-20 14:06:51 +0530 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-08-21 04:50:25 +0000 |
commit | f2fbe364ee166416d484cd75ffa7f181f131a446 (patch) | |
tree | 440d3a86dfe76c7a1d5bcf829740f46177c130bd /xlators/experimental | |
parent | da7c26ff1bb879c6a9489c1dc42c7a3400c9be20 (diff) |
jbr : fix coverity issue in jbr.c
This fixes CID 1395069.
Change-Id: I0d2fa8fb04adf035c358841f43dea64f6aa8a1d8
updates: bz#789278
Signed-off-by: Sunny Kumar <sunkumar@redhat.com>
Diffstat (limited to 'xlators/experimental')
-rw-r--r-- | xlators/experimental/jbr-server/src/jbr.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/experimental/jbr-server/src/jbr.c b/xlators/experimental/jbr-server/src/jbr.c index 08b357a5644..cd03dfe9b8a 100644 --- a/xlators/experimental/jbr-server/src/jbr.c +++ b/xlators/experimental/jbr-server/src/jbr.c @@ -1082,9 +1082,11 @@ jbr_get_terms (call_frame_t *frame, xlator_t *this) } if (sys_access(probe_str, F_OK) != 0) { GF_FREE(probe_str); + probe_str = NULL; break; } GF_FREE(probe_str); + probe_str = NULL; } gf_msg (this->name, GF_LOG_INFO, 0, |