truecrypt: fix memory leak

Found by: Coverity scan.
CID: 156611
This commit is contained in:
Andrei Borzenkov 2016-01-12 21:41:48 +03:00
parent a4b1326f0d
commit 9daf7aae8b

View file

@ -205,7 +205,7 @@ grub_cmd_truecrypt (grub_command_t cmd __attribute__ ((unused)),
fail:
if (!grub_errno)
return grub_error (GRUB_ERR_BAD_OS, "bad truecrypt ISO");
grub_error (GRUB_ERR_BAD_OS, "bad truecrypt ISO");
if (file)
grub_file_close (file);