Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/epan/ftypes ftypes.c ftypes.h

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

From: guy@xxxxxxxxxxxx (Guy Harris)
Date: Wed, 3 Dec 2003 02:53:37 -0600 (CST)
guy         2003/12/03 02:53:37 CST

  Modified files:
    epan/ftypes          ftypes.c ftypes.h 
  Log:
  Instead of requiring slab-allocated structures to have a "next" pointer,
  when adding them to the free list, cast the pointer to the structure to
  a pointer to a "freed_item_t" which contains the "next" pointer.
  
  This reduces the memory requirement for some of those structures, and
  leaves us free to slab-allocate structures that have a "next" pointer
  for other reasons.
  
  Revision  Changes    Path
  1.17      +2 -2      ethereal/epan/ftypes/ftypes.c
  1.24      +2 -3      ethereal/epan/ftypes/ftypes.h