grub-mkimage: remove redundant NULL check
Found by: Coverity scan. CID: 73737
This commit is contained in:
parent
528256932b
commit
962b69d950
1 changed files with 1 additions and 2 deletions
|
@ -304,8 +304,7 @@ main (int argc, char *argv[])
|
||||||
grub_util_file_sync (fp);
|
grub_util_file_sync (fp);
|
||||||
fclose (fp);
|
fclose (fp);
|
||||||
|
|
||||||
if (arguments.dir)
|
free (arguments.dir);
|
||||||
free (arguments.dir);
|
|
||||||
|
|
||||||
if (arguments.output)
|
if (arguments.output)
|
||||||
free (arguments.output);
|
free (arguments.output);
|
||||||
|
|
Loading…
Reference in a new issue