* fake-addrinfo.h (freeaddrinfo): Back out 1/3/03 change. ANSI
authorEzra Peisach <epeisach@mit.edu>
Wed, 8 Jan 2003 21:50:21 +0000 (21:50 +0000)
committerEzra Peisach <epeisach@mit.edu>
Wed, 8 Jan 2003 21:50:21 +0000 (21:50 +0000)
does not require it.

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

src/include/ChangeLog
src/include/fake-addrinfo.h

index 36847ee8ff8301a6bd1b1810491557636aceff55..1288702519fc207e2951168bfe304214426f0426 100644 (file)
@@ -1,3 +1,8 @@
+2003-01-08  Ezra Peisach  <epeisach@bu.edu>
+
+       * fake-addrinfo.h (freeaddrinfo): Back out 1/3/03 change. ANSI
+       does not require it.
+
 2003-01-08  Sam Hartman  <hartmans@mit.edu>
 
        * krb5.hin :  Move KRB5_CALLCONV specifier for
index d33f2c970d61c48ce00ab3bbe68e12bfce64173d..76593b0d1185a85281ea98f80c080cc042f75e86 100644 (file)
@@ -940,8 +940,7 @@ void freeaddrinfo (struct addrinfo *ai)
 {
 #ifdef COPY_FIRST_CANONNAME
     if (ai) {
-       if (ai->ai_canonname)
-           free(ai->ai_canonname);
+      free(ai->ai_canonname);
        ai->ai_canonname = 0;
        (*faiptr)(ai);
     }