Fix several memory leaks.
This commit is contained in:
parent
c686014c1b
commit
03f7c8c304
13 changed files with 72 additions and 14 deletions
|
@ -185,6 +185,7 @@ draw_text (grub_gui_progress_bar_t self)
|
|||
int y = ((height - grub_font_get_descent (font)) / 2
|
||||
+ grub_font_get_ascent (font) / 2);
|
||||
grub_font_draw_string (text, font, text_color, x, y);
|
||||
grub_free (text);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue