grub-macbless: Fix resource leak.

Found by: Coverity scan.
This commit is contained in:
Vladimir Serbinenko 2015-01-26 09:55:58 +01:00
parent 3c6384832b
commit 5d61a6a612

View file

@ -92,6 +92,8 @@ bless (const char *path, int x86)
free (filebuf_via_grub);
free (filebuf_via_sys);
free (drive_name);
free (devices);
grub_device_close (dev);
}
static struct argp_option options[] = {