http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=45804
User: eapache
Date: 2012/10/26 07:29 PM
Log:
Make the allocator destructor part of wmem_allocator_t. This avoids two
potential bugs:
- calling the wrong destroy function on an allocator
- a pool allocator forgetting to call free_all on itself in the destructor
Also, fix potential typedef redefinition warning in wmem_allocator_glib.h
Directory: /trunk/epan/wmem/
Changes Path Action
+1 -0 wmem_allocator.h Modified
+8 -7 wmem_allocator_glib.c Modified
+1 -4 wmem_allocator_glib.h Modified
+7 -0 wmem_core.c Modified
+3 -0 wmem_core.h Modified