mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-21 14:59:34 +00:00
linux/blocklist: Fix memory leak.
Found by: Coverity scan.
This commit is contained in:
1 parent
c14dff3ca7
commit
5adc6d76d3
1 file changed
+1
@@ -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);
|
||||
}
|
||||
Reference in new issue
Block a user