* 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

@ -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);