Don't call xx_init_chunk() in ep_free_all() and se_free_all() if we're not
authormorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 20 Oct 2009 17:16:40 +0000 (17:16 +0000)
committermorriss <morriss@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 20 Oct 2009 17:16:40 +0000 (17:16 +0000)
commitcf558b7c2f31af5cbc28a5e7d294c84ba9eeb144
treec08e4c8d0a6220a29f10be939251d26506c3a268
parent3a3baa90205e2b3389d3e53608a6612ed2196161
Don't call xx_init_chunk() in ep_free_all() and se_free_all() if we're not
using chunks.  With this change, xx_init_chunk() are only called once at
startup (as their comments imply).

Instead, set free_list to NULL in emem_free_all() (if we're not using chunks).

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@30644 f5534014-38df-0310-8fa8-9805f1628bb7
epan/emem.c