* [PATCH resend] grub-install: fix memory leak
@ 2017-11-27 17:12 Eric Snowberg
2017-11-28 19:35 ` Daniel Kiper
0 siblings, 1 reply; 2+ messages in thread
From: Eric Snowberg @ 2017-11-27 17:12 UTC (permalink / raw)
To: grub-devel; +Cc: daniel.kiper, Eric Snowberg
Fix memory leak
Signed-off-by: Eric Snowberg <eric.snowberg@oracle.com>
---
Originally sent on Wed, 29 Jun 2016 14:43:16 -0700
http://lists.gnu.org/archive/html/grub-devel/2016-06/msg00031.html
---
util/grub-install.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/util/grub-install.c b/util/grub-install.c
index 75e3e5b..5e4cdfd 100644
--- a/util/grub-install.c
+++ b/util/grub-install.c
@@ -1472,6 +1472,7 @@ main (int argc, char *argv[])
{
grub_util_fprint_full_disk_name (load_cfg_f, g, dev);
fprintf (load_cfg_f, " ");
+ free (g);
}
if (dev != grub_dev)
grub_device_close (dev);
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH resend] grub-install: fix memory leak
2017-11-27 17:12 [PATCH resend] grub-install: fix memory leak Eric Snowberg
@ 2017-11-28 19:35 ` Daniel Kiper
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Kiper @ 2017-11-28 19:35 UTC (permalink / raw)
To: Eric Snowberg; +Cc: grub-devel
On Mon, Nov 27, 2017 at 09:12:49AM -0800, Eric Snowberg wrote:
> Fix memory leak
>
> Signed-off-by: Eric Snowberg <eric.snowberg@oracle.com>
Pushed! Thanks!
Daniel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-11-28 19:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-27 17:12 [PATCH resend] grub-install: fix memory leak Eric Snowberg
2017-11-28 19:35 ` Daniel Kiper
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.