summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lib/krb5/krb/mk_req_ext.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/krb5/krb/mk_req_ext.c b/src/lib/krb5/krb/mk_req_ext.c
index 2d700aec89..ed23fef4b7 100644
--- a/src/lib/krb5/krb/mk_req_ext.c
+++ b/src/lib/krb5/krb/mk_req_ext.c
@@ -391,6 +391,7 @@ make_etype_list(krb5_context context,
krb5_free_data(context, ad_if_relevant);
return ENOMEM;
}
+ *authdata = adata;
adata[i] = (krb5_authdata *)malloc(sizeof(krb5_authdata));
if (adata[i] == NULL) {
@@ -405,8 +406,6 @@ make_etype_list(krb5_context context,
adata[i + 1] = NULL;
- *authdata = adata;
-
return 0;
}