linux/blocklist: Fix memory leak.
Found by: Coverity scan.
This commit is contained in:
parent
c14dff3ca7
commit
5adc6d76d3
1 changed files with 1 additions and 0 deletions
|
@ -130,6 +130,7 @@ grub_install_get_blocklist (grub_device_t root_dev,
|
||||||
& (GRUB_DISK_SECTOR_SIZE - 1),
|
& (GRUB_DISK_SECTOR_SIZE - 1),
|
||||||
fie2->fm_extents[i].fe_length, hook_data);
|
fie2->fm_extents[i].fe_length, hook_data);
|
||||||
}
|
}
|
||||||
|
free (fie2);
|
||||||
}
|
}
|
||||||
close (fd);
|
close (fd);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue