summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXie Changlong <xiechanglong@cmss.chinamobile.com>2019-10-28 17:43:28 +0800
committerAtin Mukherjee <amukherj@redhat.com>2019-10-30 07:53:51 +0000
commitae6e11982fb7b6e21e2477dae2cecd9f89f50dfc (patch)
tree680db411b126bb7e2e0dac8aa51f9a5d85123193
parentb6da637929be0bdcdb00bf38fa4c14a8a09209d3 (diff)
glusterd/ganesha: fix Coverity CID 1405785
To avoid double free updates: bz#789278 Change-Id: I15ae54ed696295d4cb015668722e77983b062ccb Signed-off-by: Xie Changlong <xiechanglong@cmss.chinamobile.com>
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-ganesha.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-ganesha.c b/xlators/mgmt/glusterd/src/glusterd-ganesha.c
index 06f028f5d8d..caba34f5489 100644
--- a/xlators/mgmt/glusterd/src/glusterd-ganesha.c
+++ b/xlators/mgmt/glusterd/src/glusterd-ganesha.c
@@ -659,8 +659,8 @@ tear_down_cluster(gf_boolean_t run_teardown)
"Failed to close dir %s. Reason :"
" %s",
CONFDIR, strerror(errno));
- goto exit;
}
+ goto exit;
}
out: