pull up r25115 from trunk
authorTom Yu <tlyu@mit.edu>
Tue, 18 Oct 2011 20:42:52 +0000 (20:42 +0000)
committerTom Yu <tlyu@mit.edu>
Tue, 18 Oct 2011 20:42:52 +0000 (20:42 +0000)
commit0899a4eb6b3c5f383a47f329935ae07d8ccf36c6
tree51afba4c273e2ba3a120a9e60185145151d06ad6
parent441a7fa63b8be0645c3586545fd1eed010071020
pull up r25115 from trunk

 ------------------------------------------------------------------------
 r25115 | ghudson | 2011-08-26 13:56:44 -0400 (Fri, 26 Aug 2011) | 9 lines

 ticket: 6949

 Remember and close the kadmin socket we opened.

 Prior to ticket #6746, the RPC library opened the kadmin socket and
 took responsibility for closing.  When we added IPv6 support, the
 calling code became the owner of the socket but wasn't closing it,
 resulting in a file descriptor leak.

ticket: 6949
version_fixed: 1.9.2
status: resolved

git-svn-id: svn://anonsvn.mit.edu/krb5/branches/krb5-1-9@25379 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/kadm5/clnt/client_init.c
src/lib/kadm5/clnt/client_internal.h