Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Sep 2004 14:30:16 +0200
From:      Thomas Quinot <thomas@FreeBSD.ORG>
To:        freebsd-net@freebsd.org
Subject:   freeaddrinfo(NULL)
Message-ID:  <20040921123016.GA41677@melusine.cuivre.fr.eu.org>

next in thread | raw e-mail | index | archive | help
Currently a call to freeaddrinfo (NULL) causes a segfault. Is there any
reason why we should not make that a no-op? This would make freeaddrinfo
behave in a manner consistent with free(3), and also with what happens
on Linux.

Thomas.

-- 
    Thomas.Quinot@Cuivre.FR.EU.ORG



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040921123016.GA41677>