Add a "cleanup_dissection()" routine, intended to free up data
authorGuy Harris <guy@alum.mit.edu>
Wed, 23 Mar 2005 12:58:59 +0000 (12:58 -0000)
committerGuy Harris <guy@alum.mit.edu>
Wed, 23 Mar 2005 12:58:59 +0000 (12:58 -0000)
commitd53df176c17e882b07abfebca16b16450708af24
tree6f58dd43228f3f85e5d1d4fb3d1445bd36c7e0df
parent68e9137eb152fb6dafbf8cd2f0fa6e481580bed8
Add a "cleanup_dissection()" routine, intended to free up data
structures allocated by a dissection.  Currently, it's the same as
"init_dissection()", but they should be split with "init_dissection()"
allocating the initial data structures and "cleanup_dissection()"
freeing them and *not* reallocating the initial data structures.

Use "cleanup_dissection()" in "cf_close()" to make it easier to find leaks.

svn path=/trunk/; revision=13881
epan/packet.c
epan/packet.h
file.c