mirror of
https://git.proxmox.com/git/grub2
synced 2025-08-05 14:15:16 +00:00
util/install: fix memory leak.
Found by: Coverity scan.
This commit is contained in:
parent
64440daa21
commit
5e27fb06f2
@ -490,6 +490,7 @@ grub_install_make_image_wrap_file (const char *dir, const char *prefix,
|
||||
dir, prefix,
|
||||
outname, mkimage_target,
|
||||
compnames[compression], note ? "--note" : "", s);
|
||||
free (s);
|
||||
|
||||
tgt = grub_install_get_image_target (mkimage_target);
|
||||
if (!tgt)
|
||||
|
Loading…
Reference in New Issue
Block a user