mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-23 15:49:23 +00:00
truecrypt: fix memory leak
Found by: Coverity scan. CID: 156611
This commit is contained in:
1 parent
a4b1326f0d
commit
9daf7aae8b
1 file changed
+1
-1
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user