free data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@1324 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -38,6 +38,7 @@ krb5_build_ap_req (krb5_context context,
|
||||
ap.authenticator.cipher = authenticator;
|
||||
|
||||
ret->length = encode_AP_REQ(buf + sizeof(buf) - 1, sizeof(buf), &ap);
|
||||
free (ap.ticket.realm);
|
||||
|
||||
ret->data = malloc(ret->length);
|
||||
memcpy (ret->data, buf + sizeof(buf) - ret->length, ret->length);
|
||||
|
Reference in New Issue
Block a user