From: John Kohl Date: Thu, 18 Oct 1990 15:49:55 +0000 (+0000) Subject: added code to free up credentials when done X-Git-Tag: krb5-1.0-alpha2~141 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=8ef4dbce20764c42b8fa2f3f382a71660396fa59;p=krb5.git added code to free up credentials when done git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1270 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/krb/mk_req.c b/src/lib/krb5/krb/mk_req.c index d8799bf92..b3cbcc3a5 100644 --- a/src/lib/krb5/krb/mk_req.c +++ b/src/lib/krb5/krb/mk_req.c @@ -77,5 +77,8 @@ krb5_data *outbuf; &creds, 0, /* We don't need the authenticator */ outbuf); + creds.server = 0; /* don't free it, someone else + owns it. */ + krb5_free_cred_contents(&creds); return retval; }