* locate_kdc.c (krb5_locate_kdc): Get rid of extra krb5_xfree
authorEzra Peisach <epeisach@mit.edu>
Sun, 7 Dec 1997 04:20:41 +0000 (04:20 +0000)
committerEzra Peisach <epeisach@mit.edu>
Sun, 7 Dec 1997 04:20:41 +0000 (04:20 +0000)
which caused freeing of memory twice.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10326 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/ChangeLog
src/lib/krb5/os/locate_kdc.c

index 39f0c6265091d0b7d051a5d21d664963ae67d4c4..6f7268388e55476bd1a39eb6cf4f051f3e6ae67e 100644 (file)
@@ -1,3 +1,8 @@
+Sat Dec  6 23:12:23 1997  Ezra Peisach  <epeisach@mit.edu>
+
+       * 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  <tlyu@mit.edu>
 
        * Makefile.in: Add changepw.c, prompter.c.
index 7530e0966e3363b37f5246e964f92ad74efe219d..1437bbe4e23d46610fbefda986d7e622b0b63814 100644 (file)
@@ -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);