Commit f44ea4f5 authored by Pekka Pessi's avatar Pekka Pessi

su_addrinfo.c: avoid crash in su_freeaddrinfo() if ai is NULL

darcs-hash:20080404151404-65a35-4399232f6dc1acfcfe5af62f035fc8ea26f2ffd8.gz
parent 749d9eb2
......@@ -805,6 +805,9 @@ freeaddrinfo(ai)
{
struct addrinfo *next;
if (ai == NULL)
return;
do {
next = ai->ai_next;
if (ai->ai_canonname)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment