Wireshark mailing list archives
Re: [Wireshark-commits] rev 36988: /trunk/ /trunk/epan/dissectors/: packet-iwarp-mpa.c packet-spnego.c packet-ssl-utils.c /trunk/: tap-iostat.c
From: Stephen Fisher <steve () stephen-fisher com>
Date: Wed, 4 May 2011 16:40:12 -0600
On Wed, May 04, 2011 at 09:19:08PM +0000, darkjames () 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-request () wireshark org?subject=unsubscribe
Current thread:
- Re: [Wireshark-commits] rev 36988: /trunk/ /trunk/epan/dissectors/: packet-iwarp-mpa.c packet-spnego.c packet-ssl-utils.c /trunk/: tap-iostat.c Stephen Fisher (May 04)