Ethereal-dev: RE: [ethereal-dev] Incorrect use of malloc

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

From: "Graham Bloice" <graham.bloice@xxxxxxxxxxxxx>
Date: Fri, 7 Jul 2000 10:43:00 +0100
> > I did note that packet_bgp is unique in using malloc() instead of
> > g_malloc().  Except.c also uses malloc().  Should these be converted to
> > g_malloc() ?
>
> I don't know of any good reason not to - "except.c" probably didn't use
> it because Gilbert just brought in Kaz Kyhelku's file and because Kaz
> just used "malloc()" so his exception package wouldn't depend on GLib.

Should a comment be made about the use of g_malloc() and g_new() in the
developers guide ?  I haven't checked so there may be something already.