http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=46604
User: eapache
Date: 2012/12/18 04:43 PM
Log:
Dispatch all allocator creations through a single function using an enum to
determine the desired type. This has two advantages over the old way:
- just one environment variable for valgrind to override in order to guarantee
that ALL allocators use memory it can track, and just one place to check that
variable
- allocator owners no longer have to include headers specific to their
allocator, allowing them to change allocators without adjusting all their
#includes
Directory: /trunk/doc/
Changes Path Action
+18 -16 README.wmem Modified
Directory: /trunk/epan/
Changes Path Action
+1 -2 epan.c Modified
Directory: /trunk/tools/
Changes Path Action
+1 -1 valgrind-wireshark.sh Modified
Directory: /trunk/epan/wmem/
Changes Path Action
+25 -0 wmem_core.c Modified
+9 -1 wmem_core.h Modified
+4 -13 wmem_scopes.c Modified