Followon fixes to r23712:
authorGreg Hudson <ghudson@mit.edu>
Wed, 10 Feb 2010 01:55:36 +0000 (01:55 +0000)
committerGreg Hudson <ghudson@mit.edu>
Wed, 10 Feb 2010 01:55:36 +0000 (01:55 +0000)
commit11079f43e990d8150870a2c894e17e286f46c96c
tree6b38d4a2fef2078229f1ca9903b9c64894f99f3b
parent19f23a3e34fe581e986d579b0bd87abfce664365
Followon fixes to r23712:
* A few formatting fixes.
* Fix unlikely leak in kdc_handle_protected_negotiation: if
  add_pa_data_element with copy == FALSE fails, it's still the
  caller's responsibility to free pa.contents.
* Fix pre-existing (since r23465) leak of reply_encpart.enc_padata in
  process_as_req.
* Call add_pa_data_element with copy == TRUE in
  return_referral_enc_padata since we are passing memory owned by the
  database entry.

ticket: 6656

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@23714 dc483132-0cff-0310-8789-dd5450dbe970
src/kdc/do_as_req.c
src/kdc/do_tgs_req.c
src/kdc/kdc_preauth.c
src/kdc/kdc_util.c
src/kdc/kdc_util.h