8c6b1ac71e
Also include some minor fixes for gcc 5.1.1 Signed-off-by: Peter Jones <pjones@redhat.com>
26 lines
631 B
Diff
26 lines
631 B
Diff
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 249/506] util/grub-mount: fix descriptor leak.
|
|
|
|
Found by: Coverity scan.
|
|
---
|
|
util/grub-mount.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/util/grub-mount.c b/util/grub-mount.c
|
|
index 19de2e6..4626e54 100644
|
|
--- a/util/grub-mount.c
|
|
+++ b/util/grub-mount.c
|
|
@@ -516,6 +516,7 @@ argp_parser (int key, char *arg, struct argp_state *state)
|
|
return 0;
|
|
}
|
|
grub_zfs_add_key (buf, real_size, 0);
|
|
+ fclose (f);
|
|
}
|
|
return 0;
|
|
|
|
--
|
|
2.4.3
|
|
|