8c6b1ac71e
Also include some minor fixes for gcc 5.1.1 Signed-off-by: Peter Jones <pjones@redhat.com>
26 lines
680 B
Diff
26 lines
680 B
Diff
From ca7c1fd6f377bebf300d0bfcb61253c34fefc861 Mon Sep 17 00:00:00 2001
|
|
From: Vladimir Serbinenko <phcoder@gmail.com>
|
|
Date: Mon, 26 Jan 2015 09:41:24 +0100
|
|
Subject: [PATCH 224/506] lib/syslinux_parse: Fix memory leak.
|
|
|
|
Found by: Coveriy scan.
|
|
---
|
|
grub-core/lib/syslinux_parse.c | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/grub-core/lib/syslinux_parse.c b/grub-core/lib/syslinux_parse.c
|
|
index 2f1f1a5..1927c4f 100644
|
|
--- a/grub-core/lib/syslinux_parse.c
|
|
+++ b/grub-core/lib/syslinux_parse.c
|
|
@@ -684,6 +684,7 @@ helptext (const char *line, grub_file_t file, struct syslinux_menu *menu)
|
|
}
|
|
|
|
grub_free (buf);
|
|
+ grub_free (help);
|
|
return grub_errno;
|
|
}
|
|
|
|
--
|
|
2.4.3
|
|
|