File 0003-util-grub-mount-fix-descriptor-leak.patch of Package grub2.4793

From 1a87156e01e3cb873f3479c31c34c97fb690eb71 Mon Sep 17 00:00:00 2001
From: Andrei Borzenkov <arvidjaar@gmail.com>
Date: Mon, 26 Jan 2015 22:24:28 +0300
Subject: [PATCH] util/grub-mount: fix descriptor leak.

Found by: Coverity scan.
---
 util/grub-mount.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

Index: grub-2.02~beta2/util/grub-mount.c
===================================================================
--- grub-2.02~beta2.orig/util/grub-mount.c	2013-12-25 00:29:28.000000000 +0800
+++ grub-2.02~beta2/util/grub-mount.c	2015-09-22 17:15:44.525530851 +0800
@@ -511,6 +511,7 @@
 	      return 0;
 	    }
 	  grub_zfs_add_key (buf, real_size, 0);
+	  fclose (f);
 	}
       return 0;