summaryrefslogtreecommitdiff
path: root/source4/heimdal/kdc
diff options
context:
space:
mode:
Diffstat (limited to 'source4/heimdal/kdc')
-rw-r--r--source4/heimdal/kdc/kerberos5.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/heimdal/kdc/kerberos5.c b/source4/heimdal/kdc/kerberos5.c
index fdc60761f3..1c02e66211 100644
--- a/source4/heimdal/kdc/kerberos5.c
+++ b/source4/heimdal/kdc/kerberos5.c
@@ -1821,6 +1821,7 @@ tgs_make_reply(krb5_context context,
if_relevant->val[0].ad_data.length = pac.length;
ASN1_MALLOC_ENCODE(AuthorizationData, buf, buf_size, if_relevant, &len, ret);
+ free_AuthorizationData(if_relevant);
auth_data = NULL;
ALLOC(auth_data);