This is the mail archive of the gdb-patches@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: xfree() -- set ptr to nil (fwd)


Some platforms dump core from free(NULL), yet an ISO-C free(NULL)
doesn't.  xfree() addresses this inconsistency by ensuring ISO-C
behavour.

	enjoy,
		Andrew

PS: Drugs^D^D^D^D^D Macros are bad M'kay ....


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]