mirror of
https://git.proxmox.com/git/grub2
synced 2025-08-05 15:39:36 +00:00
* 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
@ -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 New Issue
Block a user