* util/grub-mkpasswd-pbkdf2.c (main): Don't double-close.
Reported by: David Volgyes <dvolgyes>.
This commit is contained in:
parent
cad3237fb5
commit
03147f4667
2 changed files with 5 additions and 1 deletions
|
@ -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>
|
2011-06-23 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_is_floppy): Close
|
* grub-core/kern/emu/hostdisk.c (grub_util_biosdisk_is_floppy): Close
|
||||||
|
|
|
@ -270,7 +270,6 @@ main (int argc, char *argv[])
|
||||||
free (bufhex);
|
free (bufhex);
|
||||||
free (salthex);
|
free (salthex);
|
||||||
free (salt);
|
free (salt);
|
||||||
fclose (f);
|
|
||||||
grub_util_error ("couldn't retrieve random data for salt");
|
grub_util_error ("couldn't retrieve random data for salt");
|
||||||
}
|
}
|
||||||
fclose (f);
|
fclose (f);
|
||||||
|
|
Loading…
Reference in a new issue