Call fileno and krb5_lock_file before calling fclose, rather than after.
authorKen Raeburn <raeburn@mit.edu>
Sat, 14 Oct 2006 00:17:48 +0000 (00:17 +0000)
committerKen Raeburn <raeburn@mit.edu>
Sat, 14 Oct 2006 00:17:48 +0000 (00:17 +0000)
commit7b70e84576a8b2d39fddb57570cd505a433d0e24
treef74d8298259301910e264586b172dec5058255f3
parent2720291460e1e211be215fddb8096e3ed1d9bb28
Call fileno and krb5_lock_file before calling fclose, rather than after.
Caught by valgrind.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18700 dc483132-0cff-0310-8789-dd5450dbe970
src/kadmin/dbutil/dump.c