From 1ca305117cccd8dd411cb939bb99e29e7b75a884 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Wed, 8 Jan 2003 21:50:21 +0000 Subject: [PATCH] * 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 --- src/include/ChangeLog | 5 +++++ src/include/fake-addrinfo.h | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) 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); } -- 2.26.2