From owner-freebsd-hackers Sun Sep 21 10:37:24 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id KAA09136 for hackers-outgoing; Sun, 21 Sep 1997 10:37:24 -0700 (PDT) Received: from bitbox.follo.net (bitbox.follo.net [194.198.43.36]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id KAA09130; Sun, 21 Sep 1997 10:37:20 -0700 (PDT) Received: (from eivind@localhost) by bitbox.follo.net (8.8.6/8.8.6) id TAA20833; Sun, 21 Sep 1997 19:37:02 +0200 (MET DST) Date: Sun, 21 Sep 1997 19:37:02 +0200 (MET DST) Message-Id: <199709211737.TAA20833@bitbox.follo.net> From: Eivind Eklund To: "Andrew Atrens" CC: phk@critter.freebsd.dk, hackers@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG In-reply-to: "Andrew Atrens"'s message of 18 Sep 1997 17:59 EDT Subject: Re: Bug in malloc/free (was: Memory leak in getservbyXXX?) References: <199709182202.PAA10664@hub.freebsd.org> Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk [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. (Yes, I hate this ANSI C requirement as much as the next guy - but still thought I should inform about it.) Eivind.