From 0483da17039771c8ba979753721301d3fc4ca985 Mon Sep 17 00:00:00 2001
From: Daniel Kouril <kouril@ics.muni.cz>
Date: Fri, 21 Apr 2023 14:23:15 +0200
Subject: [PATCH] Fix the parameters passed to krb5_data_free()

---
 creds2cc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/creds2cc.c b/creds2cc.c
index d75ef84..90cf973 100644
--- a/creds2cc.c
+++ b/creds2cc.c
@@ -114,7 +114,7 @@ doit(const char *sent_creds, const char *ccname_file)
 
 end:
 	if (creds_data.data)
-		krb5_data_free(context, &creds_data);
+		krb5_data_free(&creds_data);
 	if (auth_context)
 		krb5_auth_con_free(context, auth_context);
 	if (creds) {
-- 
GitLab