aboutsummaryrefslogtreecommitdiffstats
path: root/epan/wmem/wmem_allocator_block.h
AgeCommit message (Collapse)AuthorFilesLines
2014-03-04Remove all $Id$ from top of fileAlexis La Goutte1-2/+0
(Using sed : sed -i '/^ \* \$Id\$/,+1 d') Fix manually some typo (in export_object_dicom.c and crc16-plain.c) Change-Id: I4c1ae68d1c4afeace8cb195b53c715cf9e1227a8 Reviewed-on: https://code.wireshark.org/review/497 Reviewed-by: Anders Broman <a.broman58@gmail.com>
2013-05-22Minor refactor: make the framework responsible for allocating and freeing theEvan Huus1-2/+2
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. svn path=/trunk/; revision=49512
2013-03-24Initial simple block allocator tests, not being run by default because they'reEvan Huus1-0/+4
failing. I suspect it has to do with my lack of understanding of glib's unit test framework, not the code being tested. svn path=/trunk/; revision=48519
2012-12-18Use 'new' instead of 'create' a consistent manner.Evan Huus1-1/+1
svn path=/trunk/; revision=46601
2012-11-24Add a simple block allocator to wmem (no canaries or anything yet) and use itEvan Huus1-0/+55
for packet-scope memory. svn path=/trunk/; revision=46166