From: Ezra Peisach Date: Sun, 7 Dec 1997 04:20:41 +0000 (+0000) Subject: * locate_kdc.c (krb5_locate_kdc): Get rid of extra krb5_xfree X-Git-Tag: krb5-1.1-beta1~921 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=deed121fdb7b8caa9726f5a88457cbfc33083e3a;p=krb5.git * locate_kdc.c (krb5_locate_kdc): Get rid of extra krb5_xfree which caused freeing of memory twice. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10326 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index 39f0c6265..6f7268388 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,8 @@ +Sat Dec 6 23:12:23 1997 Ezra Peisach + + * locate_kdc.c (krb5_locate_kdc): Get rid of extra krb5_xfree + which caused freeing of memory twice. + Sat Dec 6 02:34:50 1997 Tom Yu * Makefile.in: Add changepw.c, prompter.c. diff --git a/src/lib/krb5/os/locate_kdc.c b/src/lib/krb5/os/locate_kdc.c index 7530e0966..1437bbe4e 100644 --- a/src/lib/krb5/os/locate_kdc.c +++ b/src/lib/krb5/os/locate_kdc.c @@ -71,7 +71,6 @@ krb5_locate_kdc(context, realm, addr_pp, naddrs, master_index, nmasters) realm_kdc_names[3] = 0; code = profile_get_values(context->profile, realm_kdc_names, &hostlist); - krb5_xfree(host); if (code == PROF_NO_SECTION) { krb5_xfree(host);