added code to free up credentials when done
authorJohn Kohl <jtkohl@mit.edu>
Thu, 18 Oct 1990 15:49:55 +0000 (15:49 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Thu, 18 Oct 1990 15:49:55 +0000 (15:49 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1270 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/krb/mk_req.c

index d8799bf925620a11ff6793381ba3a0e0de5e2c8e..b3cbcc3a596e641d08d8c534cc0d5a93424a778a 100644 (file)
@@ -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;
 }