Messages in this thread |  | | Date | Wed, 8 Nov 2000 23:11:11 +0100 | From | Rasmus Andersen <> | Subject | Re: malloc(1/0) ?? |
| |
On Wed, Nov 08, 2000 at 02:11:34PM -0800, H. Peter Anvin wrote: > Followup to: <Pine.LNX.4.21.0011080149010.32613-100000@server.serve.me.nl> > By author: Igmar Palsenberg <maillist@chello.nl> > In newsgroup: linux.dev.kernel
[snip]
> > May I remind you guys that a malloc(0) is equal to a free(). There is no > > way that any mem get's malloced. > > > > Where the heck did you get idea? > > -hpa
Probably from the malloc man page where it is stated that *realloc* with size 0 equals free :) -- Rasmus(rasmus@jaquet.dk)
Which is worse: Ignorance or Apathy? Who knows? Who cares? - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
|  |