Fix few bugs and memory leaks
This commit is contained in:
parent
17785932df
commit
2980502850
5 changed files with 75 additions and 33 deletions
|
@ -1940,6 +1940,7 @@ grub_util_biosdisk_get_grub_dev (const char *os_dev)
|
|||
|
||||
name = grub_xasprintf ("%s,%s", disk->name, partname);
|
||||
free (partname);
|
||||
grub_disk_close (disk);
|
||||
return name;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue