* grub-core/gfxmenu/font.c (grub_font_get_string_width): Fix

memory leak.
This commit is contained in:
Vladimir Testov 2013-03-26 08:26:01 +01:00 committed by Vladimir 'phcoder' Serbinenko
parent 8990963a7f
commit 33871a10a8
2 changed files with 6 additions and 0 deletions

View file

@ -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.

View file

@ -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;
}