aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorIan Kent <raven@themaw.net>2022-11-22 16:23:27 +0800
committerIan Kent <raven@themaw.net>2022-11-22 16:40:50 +0800
commita83b45e5fe2d7629da5a3c7efd9549747bcb9e67 (patch)
tree474306bb84fc702f65ab65b287da0b89d7abd2db /modules
parent2c26e532043d4572f5e327d77314fde2edce85a3 (diff)
downloadautofs-a83b45e5fe2d7629da5a3c7efd9549747bcb9e67.tar.gz
autofs-5.1.8 - coverity fix for invalid access
Fix invalid access in modules/parse_amd.c:do_host_mount(). Signed-off-by: Ian Kent <raven@themaw.net>
Diffstat (limited to 'modules')
-rw-r--r--modules/parse_amd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules/parse_amd.c b/modules/parse_amd.c
index e4909d57..a2684664 100644
--- a/modules/parse_amd.c
+++ b/modules/parse_amd.c
@@ -1373,7 +1373,6 @@ static int do_host_mount(struct autofs_point *ap, const char *name,
if (!instance) {
error(ap->logopt, MODPREFIX
"failed to create source instance for hosts map");
- close_lookup(lookup);
goto out;
}
}