diff --git a/ChangeLog b/ChangeLog index 8113b6d5f..a721215c6 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 fbbb988a5..4758f6c0a 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; }