summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xlators/nfs/server/src/nfs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/nfs/server/src/nfs.c b/xlators/nfs/server/src/nfs.c
index c2dd16b6b56..2bc20d04e34 100644
--- a/xlators/nfs/server/src/nfs.c
+++ b/xlators/nfs/server/src/nfs.c
@@ -504,14 +504,14 @@ nfs_init_state (xlator_t *this)
&optstr);
if (ret < 0) {
gf_log (GF_NFS, GF_LOG_ERROR, "Failed to parse dict");
- goto free_foppool;
+ goto free_rpcsvc;
}
ret = gf_string2uint (optstr, &nfs->memfactor);
if (ret < 0) {
gf_log (GF_NFS, GF_LOG_ERROR, "Failed to parse uint "
"string");
- goto free_foppool;
+ goto free_rpcsvc;
}
}