* util/grub-mkpasswd-pbkdf2.c (main): Don't double-close.

Reported by: David Volgyes <dvolgyes>.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2011-06-23 22:11:42 +02:00
parent cad3237fb5
commit 03147f4667
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2011-06-23 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-mkpasswd-pbkdf2.c (main): Don't double-close.
Reported by: David Volgyes <dvolgyes>.
2011-06-23 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_is_floppy): Close

View file

@ -270,7 +270,6 @@ main (int argc, char *argv[])
free (bufhex);
free (salthex);
free (salt);
fclose (f);
grub_util_error ("couldn't retrieve random data for salt");
}
fclose (f);