diff options
author | Ezra Peisach <epeisach@mit.edu> | 2003-01-08 21:50:21 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 2003-01-08 21:50:21 +0000 |
commit | 1ca305117cccd8dd411cb939bb99e29e7b75a884 (patch) | |
tree | e406c217bf3b49528e8d094adf5ecd6081e2358e /src | |
parent | aa0c55b60f5427319f3b968c036ea604667401b5 (diff) | |
download | krb5-1ca305117cccd8dd411cb939bb99e29e7b75a884.zip krb5-1ca305117cccd8dd411cb939bb99e29e7b75a884.tar.gz krb5-1ca305117cccd8dd411cb939bb99e29e7b75a884.tar.bz2 |
* 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
Diffstat (limited to 'src')
-rw-r--r-- | src/include/ChangeLog | 5 | ||||
-rw-r--r-- | src/include/fake-addrinfo.h | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/include/ChangeLog b/src/include/ChangeLog index 36847ee..1288702 100644 --- a/src/include/ChangeLog +++ b/src/include/ChangeLog @@ -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 diff --git a/src/include/fake-addrinfo.h b/src/include/fake-addrinfo.h index d33f2c9..76593b0 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); } |