Wireshark-commits: [Wireshark-commits] rev 49512: /trunk/ /trunk/doc/: README.wmem /trunk/epan/wmem
      
      
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=49512
User: eapache
Date: 2013/05/22 08:42 AM
Log:
 Minor refactor: make the framework responsible for allocating and freeing the
 actual wmem_allocator_t structure. This simplifies the internal API and
 deduplicates a few alloc/free calls in the individual allocator implementations.
 
 I'd originally made the allocators responsible for this on purpose with the
 idea that they'd be able to optimize something clever based on the type of
 allocator, but that's clearly more work and complexity than it's worth given
 the small number of allocators we create/destroy.
Directory: /trunk/doc/
  Changes    Path           Action
  +15 -14    README.wmem    Modified
Directory: /trunk/epan/wmem/
  Changes    Path                       Action
  +1 -1      wmem_allocator.h           Modified
  +8 -17     wmem_allocator_block.c     Modified
  +2 -2      wmem_allocator_block.h     Modified
  +10 -15    wmem_allocator_simple.c    Modified
  +2 -2      wmem_allocator_simple.h    Modified
  +8 -13     wmem_allocator_strict.c    Modified
  +2 -2      wmem_allocator_strict.h    Modified
  +9 -7      wmem_core.c                Modified
  +7 -6      wmem_test.c                Modified