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

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