projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a21915b
)
Fix an error case in kdb_util's dump.c where the dump file handle was
author
Greg Hudson
<ghudson@mit.edu>
Fri, 21 May 2010 19:23:21 +0000
(19:23 +0000)
committer
Greg Hudson
<ghudson@mit.edu>
Fri, 21 May 2010 19:23:21 +0000
(19:23 +0000)
leaked.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24084
dc483132
-0cff-0310-8789-
dd5450dbe970
src/kadmin/dbutil/dump.c
patch
|
blob
|
history
diff --git
a/src/kadmin/dbutil/dump.c
b/src/kadmin/dbutil/dump.c
index 99ca0b4386f753981ccd32ebc6b7df2c9e55ed54..78331932f44fb42afa357bc56f2d99967d8a5ca4 100644
(file)
--- a/
src/kadmin/dbutil/dump.c
+++ b/
src/kadmin/dbutil/dump.c
@@
-1271,6
+1271,7
@@
dump_db(argc, argv)
KRB5_LOCKMODE_EXCLUSIVE))) {
fprintf(stderr, oflock_error,
progname, ofile, error_message(kret));
+ fclose(f);
exit_status++;
}
else