Blame SOURCES/0414-grub-core-font-font.c-grub_font_construct_glyph-Fix-.patch

f96e0b
From 2c765f906626985c55aa5fa8f5287374b9b116cb Mon Sep 17 00:00:00 2001
f96e0b
From: Vladimir 'phcoder' Serbinenko <phcoder@gmail.com>
f96e0b
Date: Sat, 4 May 2013 13:11:57 +0200
f96e0b
Subject: [PATCH 414/482] 	* grub-core/font/font.c
f96e0b
 (grub_font_construct_glyph): Fix memory leak.
f96e0b
f96e0b
---
f96e0b
 ChangeLog             | 4 ++++
f96e0b
 grub-core/font/font.c | 2 ++
f96e0b
 2 files changed, 6 insertions(+)
f96e0b
f96e0b
diff --git a/ChangeLog b/ChangeLog
f96e0b
index 8113b6d..a721215 100644
f96e0b
--- a/ChangeLog
f96e0b
+++ b/ChangeLog
f96e0b
@@ -1,3 +1,7 @@
f96e0b
+2013-05-04  Vladimir Serbinenko  <phcoder@gmail.com>
f96e0b
+
f96e0b
+	* grub-core/font/font.c (grub_font_construct_glyph): Fix memory leak.
f96e0b
+
f96e0b
 2013-05-03  Andrey Borzenkov <arvidjaar@gmail.com>
f96e0b
 
f96e0b
 	Rename grub-core/tests/checksums.c into grub-core/tests/checksums.h
f96e0b
diff --git a/grub-core/font/font.c b/grub-core/font/font.c
f96e0b
index fbbb988..4758f6c 100644
f96e0b
--- a/grub-core/font/font.c
f96e0b
+++ b/grub-core/font/font.c
f96e0b
@@ -1544,6 +1544,8 @@ grub_font_construct_glyph (grub_font_t hinted_font,
f96e0b
 
f96e0b
   blit_comb (glyph_id, glyph, NULL, main_glyph, combining_glyphs, NULL);
f96e0b
 
f96e0b
+  grub_free (combining_glyphs);
f96e0b
+
f96e0b
   return glyph;
f96e0b
 }
f96e0b
 
f96e0b
-- 
f96e0b
1.8.2.1
f96e0b