From 5da4f28e82c07eca33538560479698a50e5989e8 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Thu, 1 Jul 2004 21:02:45 +0000 Subject: [PATCH] * kinit.c (k5_kinit): Don't free addresses after calling krb5_get_init_creds_opt_set_address_list; it doesn't make a copy. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16537 dc483132-0cff-0310-8789-dd5450dbe970 --- src/clients/kinit/ChangeLog | 5 +++++ src/clients/kinit/kinit.c | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/clients/kinit/ChangeLog b/src/clients/kinit/ChangeLog index e595c7a3a..63d53ffa9 100644 --- a/src/clients/kinit/ChangeLog +++ b/src/clients/kinit/ChangeLog @@ -1,3 +1,8 @@ +2004-07-01 Ken Raeburn + + * kinit.c (k5_kinit): Don't free addresses after calling + krb5_get_init_creds_opt_set_address_list; it doesn't make a copy. + 2004-06-16 Ken Raeburn * Makefile.in (all-mac): Target deleted. diff --git a/src/clients/kinit/kinit.c b/src/clients/kinit/kinit.c index 422c87d7d..6ffebadd4 100644 --- a/src/clients/kinit/kinit.c +++ b/src/clients/kinit/kinit.c @@ -770,7 +770,6 @@ k5_kinit(opts, k5) goto cleanup; } krb5_get_init_creds_opt_set_address_list(&options, addresses); - krb5_free_addresses(k5->ctx, addresses); } if (opts->no_addresses) krb5_get_init_creds_opt_set_address_list(&options, NULL); -- 2.26.2