grub-macbless: Fix resource leak.
Found by: Coverity scan.
This commit is contained in:
parent
3c6384832b
commit
5d61a6a612
1 changed files with 2 additions and 0 deletions
|
@ -92,6 +92,8 @@ bless (const char *path, int x86)
|
||||||
free (filebuf_via_grub);
|
free (filebuf_via_grub);
|
||||||
free (filebuf_via_sys);
|
free (filebuf_via_sys);
|
||||||
free (drive_name);
|
free (drive_name);
|
||||||
|
free (devices);
|
||||||
|
grub_device_close (dev);
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct argp_option options[] = {
|
static struct argp_option options[] = {
|
||||||
|
|
Loading…
Reference in a new issue