Save the whales, free (or at least check) the mallocs

Dave Peticolas
Thu, 03 Aug 2000 23:12:09 -0700

Robert Graham Merkel writes:
> A quick grep through the code reveals a bunch of unchecked malloc() calls.
> Is there any reason why they shouldn't all be replaced by gmalloc,
> which aborts with an error message if it fails?

In the long run I think we should use the glib routines wherever
possible. Keep in mind that you cannot mix the C routines with the
glib routines, so it won't be quite as simple as a search & replace.