summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-01-15 16:25:24 +0000
committerEvan Huus <eapache@gmail.com>2013-01-15 16:25:24 +0000
commitb0a0372cfff4c8c1774ba9667484f2b1d48d36b3 (patch)
treef18a310f2b06acabc933f9db4166fdb5d13d7706
parent3adfacfea6711a0634c450ff607101099da95b12 (diff)
downloadwireshark-b0a0372cfff4c8c1774ba9667484f2b1d48d36b3.tar.gz
Use the block allocator for wmem's file-scope by default.
svn path=/trunk/; revision=47093
-rw-r--r--epan/wmem/wmem_scopes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/wmem/wmem_scopes.c b/epan/wmem/wmem_scopes.c
index e7fcdff9a2..aa0c92791b 100644
--- a/epan/wmem/wmem_scopes.c
+++ b/epan/wmem/wmem_scopes.c
@@ -151,7 +151,7 @@ wmem_init_scopes(void)
g_assert(in_file_scope == FALSE);
packet_scope = wmem_allocator_new(WMEM_ALLOCATOR_BLOCK);
- file_scope = wmem_allocator_new(WMEM_ALLOCATOR_SIMPLE);
+ file_scope = wmem_allocator_new(WMEM_ALLOCATOR_BLOCK);
epan_scope = wmem_allocator_new(WMEM_ALLOCATOR_SIMPLE);
}