The dfilter yacc grammar now keeps track of every GNode that it allocates.
authorgram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 26 Aug 1999 06:20:50 +0000 (06:20 +0000)
committergram <gram@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 26 Aug 1999 06:20:50 +0000 (06:20 +0000)
commitcf6425a38cba9c869e232d5a7da153c6ee9770a4
treeb71f0856d81f4c8f314808f66661978c04532141
parent987d082ffb9d6c542aa09f2d7c6f20b9392b67d1
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.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@582 f5534014-38df-0310-8fa8-9805f1628bb7
dfilter-grammar.y
dfilter-int.h
dfilter.c
dfilter.h
ethereal.c
proto.c
proto.h