Ethereal-dev: Re: [ethereal-dev] packet-icq.c ICQ dissector

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <gharris@xxxxxxxxxxxx>
Date: Sun, 24 Oct 1999 12:37:06 -0700
> As another side issue; How does one cope with a failing g_malloc call?

One doesn't.  The page at

	http://www.gtk.org/rdp/glib/glib-memory-allocation.html

in the "glib" documentation notes:

	If any call to allocate memory fails, the application is
	terminated.  This also means that there is no need to check if
	the call succeeded.