From owner-freebsd-hackers Mon Jul 24 03:49:30 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id DAA15202 for hackers-outgoing; Mon, 24 Jul 1995 03:49:30 -0700 Received: (from phk@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id DAA15191 ; Mon, 24 Jul 1995 03:49:29 -0700 From: Poul-Henning Kamp Message-Id: <199507241049.DAA15191@freefall.cdrom.com> Subject: Re: new malloc.c please test To: phk@freefall.cdrom.com (Poul-Henning Kamp) Date: Mon, 24 Jul 1995 03:49:28 -0700 (PDT) Cc: hackers@freebsd.org In-Reply-To: <199507241032.DAA14618@freefall.cdrom.com> from "Poul-Henning Kamp" at Jul 24, 95 03:32:03 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 553 Sender: hackers-owner@freebsd.org Precedence: bulk > OK, here is the next version of my "new" malloc.c This one is running > in my libc right now, and giving no problems so far. Yet another detail: FreeBSD tolerates NULL as argument to free(), my code didn't. Please add if (!ptr) return; In the top of the free() procedure. -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@ref.tfs.com TRW Financial Systems, Inc. Just that: dried leaves in boiling water ?