grub-mkimage: remove redundant NULL check

Found by: Coverity scan.
CID: 73737
This commit is contained in:
Andrei Borzenkov 2016-01-10 11:51:34 +03:00
parent 528256932b
commit 962b69d950

View file

@ -304,7 +304,6 @@ main (int argc, char *argv[])
grub_util_file_sync (fp);
fclose (fp);
if (arguments.dir)
free (arguments.dir);
if (arguments.output)