* 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:
parent
b25db21885
commit
3d2c7e3591
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -683,8 +683,7 @@ grub_dl_unload (grub_dl_t mod)
|
|||
{
|
||||
depn = dep->next;
|
||||
|
||||
if (! grub_dl_unref (dep->mod))
|
||||
grub_dl_unload (dep->mod);
|
||||
grub_dl_unload (dep->mod);
|
||||
|
||||
grub_free (dep);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue