pull up r24634 from trunk
authorTom Yu <tlyu@mit.edu>
Sat, 19 Feb 2011 04:33:48 +0000 (04:33 +0000)
committerTom Yu <tlyu@mit.edu>
Sat, 19 Feb 2011 04:33:48 +0000 (04:33 +0000)
commita46dda47298bd1aa48f5f05c7258d60a739441f1
treecc1650657a894b14bef929983fb1127608e4b2bd
parentd18073af68f9417c274499b0242aaaf077ec1b0a
pull up r24634 from trunk

 ------------------------------------------------------------------------
 r24634 | ghudson | 2011-02-13 11:12:36 -0800 (Sun, 13 Feb 2011) | 10 lines

 ticket: 6867
 subject: Trace logging file descriptor leak
 target_version: 1.9.1
 tags: pullup

 File descriptors created for trace logging were never being closed.
 With short-lived contexts this leak would eventually overflow the
 process's file table.  Correct this oversight by closing the file
 descriptor in file_trace_cb before freeing its container.

ticket: 6867
version_fixed: 1.9.1
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-9@24642 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/os/trace.c