* grub-core/gfxmenu/gui_list.c (list_destroy): Fixed memory leak.

This commit is contained in:
Vladimir Testov 2013-10-09 10:44:11 +04:00
parent 761c718b52
commit 6e9e5dc98b
2 changed files with 5 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2013-10-09 Vladimir Testov <vladimir.testov@rosalab.ru>
* grub-core/gfxmenu/gui_list.c (list_destroy): Fixed memory leak.
2013-10-09 Vladimir Serbinenko <phcoder@gmail.com>
Move OS-dependent file definitions to include/grub/osdep/hostfile*.h.

View file

@ -97,6 +97,7 @@ list_destroy (void *vself)
if (self->scrollbar_frame)
self->scrollbar_frame->destroy (self->scrollbar_frame);
grub_free (self->scrollbar_thumb_pattern);
grub_free (self->scrollbar_frame_pattern);
grub_free (self);
}