Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 28955: /trunk/epan/dfilter/ /trunk/e

From: Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>
Date: Tue, 7 Jul 2009 14:02:09 -0600
Yes.  Also, since you changed the allocator to zero out the data at 
allocation time (g_new0), you don't need to set any of the pointers to 
NULL either.

On Mon, Jul 06, 2009 at 03:37:42PM +0000, etxrab@xxxxxxxxxxxxx wrote:

> http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=28955
> 
> User: etxrab
> Date: 2009/07/06 08:37 AM
> 
> Log:
>  Initialize memory to zero.
>   (is NULL = zero on all platforms?)
> 
> Directory: /trunk/epan/dfilter/
>   Changes    Path          Action
>   +3 -7      dfilter.c     Modified