grub-core/disk/lzopio.c: fix double free in error path

CID: 73665
This commit is contained in:
Andrei Borzenkov 2014-11-28 22:37:00 +03:00
parent f07784e890
commit 343dad410e
2 changed files with 1 additions and 2 deletions

View File

@ -1,5 +1,6 @@
2014-11-28 Andrei Borzenkov <arvidjaar@gmail.com>
* grub-core/io/lzopio.c (test_header): Fix double free (CID 73665)
* grub-core/disk/geli.c (configure_ciphers): Fix memory leaks
(Coverity CID 73813, 73710)
* grub-core/disk/luks.c (configure_ciphers): Fix memory leaks

View File

@ -403,8 +403,6 @@ test_header (grub_file_t file)
return 1;
CORRUPTED:
grub_free(name);
return 0;
}