Blame SOURCES/nfs-utils-1.3.0-rpcgssd-closedir.patch

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