Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 36503: /trunk/ /trunk/: tap-icmpstat

From: Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>
Date: Thu, 7 Apr 2011 12:54:16 -0600
On Wed, Apr 06, 2011 at 10:18:33PM -0400, Maynard, Chris wrote:

> But you also changed g_malloc0() to g_try_malloc0(); however, that 
> function wasn't available until glib 2.8.  Should we change it back, 
> or is it perhaps time to increase the minimum required glib version?

Oops.  I used g_try_malloc0 instead of g_malloc0 so that the check for 
failure could be retained, but you can change it back to g_malloc0 since 
that aborts the program on failure anyway.