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