diff options
author | Guy Harris <guy@alum.mit.edu> | 2006-11-21 00:30:36 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2006-11-21 00:30:36 +0000 |
commit | a22101f8f017b1834d72bcee4eccf84235016b10 (patch) | |
tree | a94482b5707a5739b5634bd4550d7e4dd5e1b9d0 /epan/epan.c | |
parent | b0640ceefc0716b2b2b70a835dbbd97ad7fb2ec9 (diff) |
We also need the memory allocation subsystem initialized in anything
that uses libwireshark.
svn path=/trunk/; revision=19940
Diffstat (limited to 'epan/epan.c')
-rw-r--r-- | epan/epan.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/epan.c b/epan/epan.c index 95b27a129c..1a6400793f 100644 --- a/epan/epan.c +++ b/epan/epan.c @@ -83,6 +83,10 @@ epan_init(const char *plugin_dir, void (*register_all_protocols)(void), report_open_failure_func = report_open_failure; report_read_failure_func = report_read_failure; + /* initialize memory allocation subsystem */ + ep_init_chunk(); + se_init_chunk(); + /* initialize the GUID to name mapping table */ guids_init(); |