* grub-core/disk/diskfilter.c (free_array) [GRUB_UTIL]: Fix memory leak.
* util/getroot.c (grub_find_device): Likewise. (get_mdadm_uuid): Likewise. (grub_util_is_imsm): Likewise. (grub_util_pull_device): Likewise. * util/grub-probe.c (probe): Likewise.
This commit is contained in:
parent
801a3027be
commit
592fd0e4d6
4 changed files with 24 additions and 2 deletions
|
@ -474,6 +474,7 @@ probe (const char *path, char **device_names, char delim)
|
|||
printf ("%s", label);
|
||||
putchar (delim);
|
||||
}
|
||||
grub_device_close (dev);
|
||||
goto end;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue