Wireshark mailing list archives

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


From: Stephen Fisher <steve () stephen-fisher com>
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.
___________________________________________________________________________
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: