(krb5_get_forwarded_creds): don't allocate out_creds

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5831 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1999-04-01 17:29:42 +00:00
parent f088835022
commit c78dfbf538

View File

@@ -119,12 +119,6 @@ krb5_get_forwarded_creds (krb5_context context,
kdc_flags.i = flags;
out_creds = calloc(1, sizeof(*out_creds));
if (out_creds == NULL) {
krb5_free_addresses(context, &addrs);
return ENOMEM;
}
ret = krb5_get_kdc_cred (context,
ccache,
kdc_flags,