* include/grub/gui.h (grub_gfxmenu_timeout_unregister): Free cb

descriptor.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-05-03 14:05:57 +02:00
parent a4f9a5ff92
commit 7c332bdc98
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2013-05-03 Vladimir Serbinenko <phcoder@gmail.com>
* include/grub/gui.h (grub_gfxmenu_timeout_unregister): Free cb
descriptor.
2013-05-03 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/gfxmenu/view.c (grub_gfxmenu_view_new): Clear

View file

@ -112,6 +112,7 @@ grub_gfxmenu_timeout_unregister (grub_gui_component_t self)
if (q->self == self)
{
*p = q->next;
grub_free (q);
break;
}
}