In tgs_construct_tgsreq, free scratch even if scratch->data is NULL.
authorGreg Hudson <ghudson@mit.edu>
Fri, 13 Feb 2009 22:00:47 +0000 (22:00 +0000)
committerGreg Hudson <ghudson@mit.edu>
Fri, 13 Feb 2009 22:00:47 +0000 (22:00 +0000)
commitbda7d8c59b58d59abf70bbb12a67978a11d1e6c5
tree3bf915a410e985178bae09350556d8b2a5e49041
parente0c545139c54d6612687b0458b56ce34419a3a36
In tgs_construct_tgsreq, free scratch even if scratch->data is NULL.
(Which probably can't happen, but static analyzers don't know that.)
Also protect scratch from being freed before initialization.

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