diff options
author | Daniel Stenberg <daniel@haxx.se> | 2007-07-01 22:01:18 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2007-07-01 22:01:18 +0000 |
commit | 54967d2a3ab5559631407f7b7f67ef48c2dda6dd (patch) | |
tree | a48676ba7a58d61e49e27da20a6c99066f9fe424 /lib/hostip.c | |
parent | 667fd9a60bd8bae34660b4bf8124060f1577ada3 (diff) |
Thomas J. Moore provided a patch that introduces Kerberos5 support in
libcurl. This also makes the options change name to --krb (from --krb4) and
CURLOPT_KRBLEVEL (from CURLOPT_KRB4LEVEL) but the old names are still
Diffstat (limited to 'lib/hostip.c')
-rw-r--r-- | lib/hostip.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/hostip.c b/lib/hostip.c index 5a7da5016..189d0683d 100644 --- a/lib/hostip.c +++ b/lib/hostip.c @@ -575,6 +575,8 @@ void Curl_freeaddrinfo(Curl_addrinfo *ai) /* walk over the list and free all entries */ while(ai) { next = ai->ai_next; + if(ai->ai_canonname) + free(ai->ai_canonname); free(ai); ai = next; } |