diff options
-rw-r--r-- | xlators/nfs/server/src/exports.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/nfs/server/src/exports.c b/xlators/nfs/server/src/exports.c index 3c80fc9ea0f..b000b7e8118 100644 --- a/xlators/nfs/server/src/exports.c +++ b/xlators/nfs/server/src/exports.c @@ -1222,6 +1222,7 @@ exp_dir_get_netgroup (const struct export_dir *expdir, const char *netgroup) if (!dict_res) { gf_msg_debug (GF_EXP, 0, "%s not found for %s", netgroup, expdir->dir_name); + goto out; } lookup_res = (struct export_item *)dict_res->data; |