wireshark-dev May 2011 archive
Main Archive Page > Month Archives  > wireshark-dev archives
wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 36988

Re: [Wireshark-dev] [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_at_nospam>
Date: Wed May 04 2011 - 22:40:12 GMT
To: wireshark-dev@wireshark.org

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