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

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

No files matched your search

+1
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
-2
View File
@@ -403,8 +403,6 @@ test_header (grub_file_t file)
return 1;
CORRUPTED:
grub_free(name);
return 0;
}