Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal dfilter-grammar.y dfilter-int.h dfilter.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Gilbert Ramirez Jr." <gram@xxxxxxxxxxxx>
Date: Thu, 26 Aug 1999 01:20:57 -0500 (CDT)
gram        1999/08/26 01:20:55 CDT

  Modified files:
    .                    dfilter-grammar.y dfilter-int.h dfilter.c 
                         dfilter.h ethereal.c proto.c proto.h 
  Log:
  The dfilter yacc grammar now keeps track of every GNode that it allocates.
  After a bad parse, instead of leaking this memory, the memory used for
  those GNodes is now freed.
  
  Added some memory-freeing "cleanup" routines for the dfilter and proto_tree
  modules, which are called right before ethereal exits. Maybe once we get
  a complete set of cleanup routines, we'll be able to better check if
  memory is leaking.
  
  Revision  Changes    Path
  1.15      +23 -1     ethereal/dfilter-grammar.y
  1.3       +2 -1      ethereal/dfilter-int.h
  1.16      +60 -10    ethereal/dfilter.c
  1.10      +4 -1      ethereal/dfilter.h
  1.108     +9 -1      ethereal/ethereal.c
  1.17      +15 -2     ethereal/proto.c
  1.7       +6 -1      ethereal/proto.h