From: Ezra Peisach Date: Wed, 8 Jan 2003 21:50:21 +0000 (+0000) Subject: * fake-addrinfo.h (freeaddrinfo): Back out 1/3/03 change. ANSI X-Git-Tag: krb5-1.3-alpha1~179 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1ca305117cccd8dd411cb939bb99e29e7b75a884;p=krb5.git * fake-addrinfo.h (freeaddrinfo): Back out 1/3/03 change. ANSI does not require it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@15098 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 36847ee8f..128870251 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -1,3 +1,8 @@ +2003-01-08 Ezra Peisach + + * fake-addrinfo.h (freeaddrinfo): Back out 1/3/03 change. ANSI + does not require it. + 2003-01-08 Sam Hartman * krb5.hin : Move KRB5_CALLCONV specifier for diff --git a/src/include/fake-addrinfo.h b/src/include/fake-addrinfo.h index d33f2c970..76593b0d1 100644 --- a/src/include/fake-addrinfo.h +++ b/src/include/fake-addrinfo.h @@ -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); }