Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 36988: /trunk/ /trunk/epan/dissector
From: Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>
Date: Wed, 4 May 2011 16:40:12 -0600
On Wed, May 04, 2011 at 09:19:08PM +0000, darkjames@xxxxxxxxxxxxx wrote:

> Log:
>  Cleanup: g_malloc can't return NULL, remove checks for them.
>  
>  XXX, should this code use g_try_malloc instead?

That's a good question and it keeps coming up.  I think the main reason 
we we haven't moved everything to g_try_malloc is that inside GTK+ and 
GLib, they still use g_malloc, so we can't totally eliminate the 
possibilty of Wireshark being aborted when out of memory.