|Main Archive Page > Month Archives > wireshark-dev archives|
On Wed, May 04, 2011 at 09:19:08PM +0000, email@example.com wrote:
> 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.
Sent via: Wireshark-dev mailing list <firstname.lastname@example.org>