diff -up nfs-utils-1.3.0/utils/gssd/gssd_main_loop.c.org nfs-utils-1.3.0/utils/gssd/gssd_main_loop.c
--- nfs-utils-1.3.0/utils/gssd/gssd_main_loop.c.org 2020-04-24 12:01:43.779578627 -0400
+++ nfs-utils-1.3.0/utils/gssd/gssd_main_loop.c 2020-06-08 11:53:03.059066253 -0400
@@ -175,6 +175,7 @@ topdirs_init_list(void)
}
if (TAILQ_EMPTY(&topdirs_list)) {
printerr(0, "ERROR: rpc_pipefs directory '%s' is empty!\n", pipefs_dir);
+ closedir(pipedir);
return -1;
}
closedir(pipedir);