Fix one more case of an explicit null check before calling a free
authorKen Raeburn <raeburn@mit.edu>
Mon, 9 Feb 2009 20:39:54 +0000 (20:39 +0000)
committerKen Raeburn <raeburn@mit.edu>
Mon, 9 Feb 2009 20:39:54 +0000 (20:39 +0000)
commit2d8221c9d983d8625cd556aa88ea6302143b326f
tree004d8f1d2380d8a81906ce15f76bf93eb3785c0f
parent742ed296c962a3082c9456e1fa5882f769299d2d
Fix one more case of an explicit null check before calling a free
function that does the null check.

Also, use krb5_free_keyblock_contents instead of open-coding all the
work (and not trying hard enough to clear the memory).

ticket: 6377

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@21926 dc483132-0cff-0310-8789-dd5450dbe970
src/lib/krb5/krb/kfree.c