diff --git a/util/grub-macbless.c b/util/grub-macbless.c index 742353a42..e57e13d5a 100644 --- a/util/grub-macbless.c +++ b/util/grub-macbless.c @@ -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[] = {