diff options
author | Guy Harris <guy@alum.mit.edu> | 2003-12-03 08:53:37 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2003-12-03 08:53:37 +0000 |
commit | ed2ae2d8d3eb9bdf13562825d28a7a60869b5c56 (patch) | |
tree | bc3e86e9db9fbe92dba89286b43c85a60383dfad /tap-protohierstat.c | |
parent | e4b6c50461a75857fe3c3ddc196882a055732564 (diff) | |
download | wireshark-ed2ae2d8d3eb9bdf13562825d28a7a60869b5c56.tar.gz wireshark-ed2ae2d8d3eb9bdf13562825d28a7a60869b5c56.tar.bz2 wireshark-ed2ae2d8d3eb9bdf13562825d28a7a60869b5c56.zip |
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.
svn path=/trunk/; revision=9150
Diffstat (limited to 'tap-protohierstat.c')
0 files changed, 0 insertions, 0 deletions