From owner-freebsd-hackers Sun Sep 21 15:49:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id PAA22692 for hackers-outgoing; Sun, 21 Sep 1997 15:49:00 -0700 (PDT) Received: from ns.mt.sri.com (SRI-56K-FR.mt.net [206.127.65.42]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id PAA22684 for ; Sun, 21 Sep 1997 15:48:54 -0700 (PDT) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.7/8.8.7) with ESMTP id QAA07199; Sun, 21 Sep 1997 16:47:21 -0600 (MDT) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id QAA28054; Sun, 21 Sep 1997 16:47:19 -0600 (MDT) Date: Sun, 21 Sep 1997 16:47:19 -0600 (MDT) Message-Id: <199709212247.QAA28054@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Eivind Eklund Cc: phk@critter.freebsd.dk, hackers@freebsd.org Subject: Re: Bug in malloc/free (was: Memory leak in getservbyXXX?) In-Reply-To: <199709211737.TAA20833@bitbox.follo.net> References: <199709182202.PAA10664@hub.freebsd.org> <199709211737.TAA20833@bitbox.follo.net> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Eivind Eklund writes: > [Andrew Atrens] > > >From what I can tell Poul your free() actually gives the memory back to the > > OS ( at least some of the time ). > > If this is correct, it breaks ANSI C behaviour. Huh? I didn't realize ANSI mandated OS support. Can you quote chapter and verse that says this? Nate