On Wed, May 04, 2011 at 09:19:08PM +0000, darkja...@wireshark.org 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. ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev@wireshark.org> Archives: http://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe