linux/blocklist: Fix memory leak.

Found by: Coverity scan.
This commit is contained in:
Vladimir Serbinenko 2015-01-26 09:50:58 +01:00
parent c14dff3ca7
commit 5adc6d76d3
1 changed files with 1 additions and 0 deletions

View File

@ -130,6 +130,7 @@ grub_install_get_blocklist (grub_device_t root_dev,
& (GRUB_DISK_SECTOR_SIZE - 1),
fie2->fm_extents[i].fe_length, hook_data);
}
free (fie2);
}
close (fd);
}