In the kdc5_hammer test program, simplify the cleanup logic of
authorGreg Hudson <ghudson@mit.edu>
Wed, 21 Apr 2010 23:37:04 +0000 (23:37 +0000)
committerGreg Hudson <ghudson@mit.edu>
Wed, 21 Apr 2010 23:37:04 +0000 (23:37 +0000)
commite9abb4d05ce153fc9ecc601bedde57f1cbd191e4
tree9fbf712d976723a88088cfe3d0ce584f08b96a14
parenta45a146036a5faf133b261dec437523cf644525f
In the kdc5_hammer test program, simplify the cleanup logic of
get_server_key.  Fixes a memory leak where the result of
krb5_get_credentials() didn't get freed if krb5_mk_req_extended()
failed.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23919 dc483132-0cff-0310-8789-dd5450dbe970
src/tests/hammer/kdc5_hammer.c