util/install: fix memory leak.
Found by: Coverity scan.
This commit is contained in:
parent
64440daa21
commit
5e27fb06f2
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue