mirror of
https://src.fedoraproject.org/rpms/grub2.git
synced 2024-11-24 14:32:58 +00:00
f74b50e380
Signed-off-by: Peter Jones <pjones@redhat.com>
39 lines
1.1 KiB
Diff
39 lines
1.1 KiB
Diff
From 3c16d2a0969c34faa8d2a0fba94f4535effef5fc Mon Sep 17 00:00:00 2001
|
|
From: Vladimir Testov <vladimir.testov@rosalab.ru>
|
|
Date: Tue, 26 Mar 2013 08:26:01 +0100
|
|
Subject: [PATCH 235/482] * grub-core/gfxmenu/font.c
|
|
(grub_font_get_string_width): Fix memory leak.
|
|
|
|
---
|
|
ChangeLog | 5 +++++
|
|
grub-core/gfxmenu/font.c | 1 +
|
|
2 files changed, 6 insertions(+)
|
|
|
|
diff --git a/ChangeLog b/ChangeLog
|
|
index 615c9a1..399b72f 100644
|
|
--- a/ChangeLog
|
|
+++ b/ChangeLog
|
|
@@ -1,3 +1,8 @@
|
|
+2013-03-26 Vladimir Testov <vladimir.testov@rosalab.ru>
|
|
+
|
|
+ * grub-core/gfxmenu/font.c (grub_font_get_string_width): Fix
|
|
+ memory leak.
|
|
+
|
|
2013-03-25 Vladimir Serbinenko <phcoder@gmail.com>
|
|
|
|
* grub-core/disk/ahci.c: Give more time for AHCI request.
|
|
diff --git a/grub-core/gfxmenu/font.c b/grub-core/gfxmenu/font.c
|
|
index 7174837..4a8e1f1 100644
|
|
--- a/grub-core/gfxmenu/font.c
|
|
+++ b/grub-core/gfxmenu/font.c
|
|
@@ -104,6 +104,7 @@ grub_font_get_string_width (grub_font_t font, const char *str)
|
|
|
|
grub_free (glyph.combining);
|
|
}
|
|
+ grub_free (logical);
|
|
|
|
return width;
|
|
}
|
|
--
|
|
1.8.2.1
|
|
|