From 31f019a7687f1101e2b4f30e9191887acd9d48b6 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Tue, 5 May 2009 16:30:19 +0000 Subject: [PATCH] In krb5_get_in_tkt, free the whole encoded request (since the structure was allocated by encode_krb5_as_req), not just the contents. ticket: 6401 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@22310 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/get_in_tkt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/krb5/krb/get_in_tkt.c b/src/lib/krb5/krb/get_in_tkt.c index 5acc19aa5..018676dbe 100644 --- a/src/lib/krb5/krb/get_in_tkt.c +++ b/src/lib/krb5/krb/get_in_tkt.c @@ -649,7 +649,7 @@ krb5_get_in_tkt(krb5_context context, retval = send_as_request(context, encoded_request, krb5_princ_realm(context, request.client), &err_reply, &as_reply, &use_master); - krb5_free_data_contents(context, encoded_request); + krb5_free_data(context, encoded_request); if (retval != 0) goto cleanup; -- 2.26.2