summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-10-26 23:34:15 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:45:17 -0500
commit4dc5da1335a8dc39b4e6153ce7da75d429d343de (patch)
treeda051a4caca7a05680604000256ecd758844893b
parent6386f31317ef7ea73ced17a3c42f49d0257abe90 (diff)
downloadsamba-4dc5da1335a8dc39b4e6153ce7da75d429d343de.tar.gz
samba-4dc5da1335a8dc39b4e6153ce7da75d429d343de.tar.bz2
samba-4dc5da1335a8dc39b4e6153ce7da75d429d343de.zip
r11310: Free the 'if_relevent' portion of the PAC when we build it.
Andrew Bartlett (This used to be commit ede638c00b574bf4149d11844c0adf8e0f5c4efb)
-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);