* grub-core/kern/dl.c (grub_dl_unload): Don't decrease reference

counter on dependencies since grub_dl_unref already handles this.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-05-14 22:35:56 +02:00
parent b25db21885
commit 3d2c7e3591
2 changed files with 6 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2011-05-14 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/dl.c (grub_dl_unload): Don't decrease reference
counter on dependencies since grub_dl_unref already handles this.
2011-05-14 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/font/font_cmd.c (loadfont_command): Set grub_errno

View file

@ -683,7 +683,6 @@ grub_dl_unload (grub_dl_t mod)
{
depn = dep->next;
if (! grub_dl_unref (dep->mod))
grub_dl_unload (dep->mod);
grub_free (dep);