truecrypt: fix memory leak
Found by: Coverity scan. CID: 156611
This commit is contained in:
parent
a4b1326f0d
commit
9daf7aae8b
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ grub_cmd_truecrypt (grub_command_t cmd __attribute__ ((unused)),
|
||||||
fail:
|
fail:
|
||||||
|
|
||||||
if (!grub_errno)
|
if (!grub_errno)
|
||||||
return grub_error (GRUB_ERR_BAD_OS, "bad truecrypt ISO");
|
grub_error (GRUB_ERR_BAD_OS, "bad truecrypt ISO");
|
||||||
|
|
||||||
if (file)
|
if (file)
|
||||||
grub_file_close (file);
|
grub_file_close (file);
|
||||||
|
|
Loading…
Reference in a new issue