aboutsummaryrefslogtreecommitdiffstats
path: root/epan/packet.c
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-08-12 08:51:08 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2005-08-12 08:51:08 +0000
commit055e2596d970477a6afdae55b1c570d74565e232 (patch)
treedcd726d023398e2a6ad5f1c40fc6b19db81014ec /epan/packet.c
parent960f9cb5e7e95435f6550a5af22529fef4ee8b35 (diff)
Add beginning of seasonal allocation in addition to the existing ephemeral ones.
svn path=/trunk/; revision=15301
Diffstat (limited to 'epan/packet.c')
-rw-r--r--epan/packet.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/epan/packet.c b/epan/packet.c
index e9c691b35b..eb9cdbc493 100644
--- a/epan/packet.c
+++ b/epan/packet.c
@@ -52,6 +52,7 @@
#include "tvbuff.h"
#include "plugins.h"
#include "epan_dissect.h"
+#include "emem.h"
#include <epan/reassemble.h>
@@ -129,6 +130,9 @@ call_init_routine(gpointer routine, gpointer dummy _U_)
void
init_dissection(void)
{
+ /* Reclaim and reinitialize all memory of seasonal scope */
+ se_free_all();
+
/* Initialize the table of conversations. */
epan_conversation_init();