diff options
author | Greg Hudson <ghudson@mit.edu> | 2013-03-25 17:38:41 -0400 |
---|---|---|
committer | Greg Hudson <ghudson@mit.edu> | 2013-03-26 13:01:29 -0400 |
commit | 47ec1ab146334f94b97e6572904a14ad67ee2524 (patch) | |
tree | a338690a8f7f741a1f9d52f9898fc9758c7e5e0b /src/kdc/kdc_util.c | |
parent | fb92e73d12081d36b0497e55489293d296eb416d (diff) | |
download | krb5-47ec1ab146334f94b97e6572904a14ad67ee2524.tar.gz krb5-47ec1ab146334f94b97e6572904a14ad67ee2524.tar.xz krb5-47ec1ab146334f94b97e6572904a14ad67ee2524.zip |
Fix a trivial file leak writing kadmind pid file
If we fail to write the pid to the pid file, we should still close the
file before returning from write_pid_file(). The consequences of this
bug are trivial because kadmin is just going to exit regardless.
Reported by Will Fiveash <will.fiveash@oracle.com>.
Diffstat (limited to 'src/kdc/kdc_util.c')
0 files changed, 0 insertions, 0 deletions