mirror of
https://git.proxmox.com/git/grub2
synced 2025-07-24 20:26:54 +00:00
grub-mkimage: remove redundant NULL check
Found by: Coverity scan. CID: 73737
This commit is contained in:
parent
528256932b
commit
962b69d950
@ -304,8 +304,7 @@ main (int argc, char *argv[])
|
||||
grub_util_file_sync (fp);
|
||||
fclose (fp);
|
||||
|
||||
if (arguments.dir)
|
||||
free (arguments.dir);
|
||||
free (arguments.dir);
|
||||
|
||||
if (arguments.output)
|
||||
free (arguments.output);
|
||||
|
Loading…
Reference in New Issue
Block a user