Newsgroups: comp.lang.c Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: free (NULL); Message-ID: <1990May8.154456.26253@utzoo.uucp> Organization: U of Toronto Zoology References: <1194@wet.UUCP> Date: Tue, 8 May 90 15:44:56 GMT In article <1194@wet.UUCP> noah@wet.UUCP (Noah Spurrier) writes: >Will angry things happen if I try to free(NULL) ? On many current systems, yes. ANSI C guarantees that you can free a null pointer, but many existing implementations will malfunction if handed one. -- If OSI is the answer, what is | Henry Spencer at U of Toronto Zoology the question?? -Rolf Nordhagen| uunet!attcan!utzoo!henry henry@zoo.toronto.edu