diff options
Diffstat (limited to 'epan/dissectors/packet-zbee-aps.c')
-rw-r--r-- | epan/dissectors/packet-zbee-aps.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/dissectors/packet-zbee-aps.c b/epan/dissectors/packet-zbee-aps.c index cabd99771c..53f0fa9dae 100644 --- a/epan/dissectors/packet-zbee-aps.c +++ b/epan/dissectors/packet-zbee-aps.c @@ -61,6 +61,7 @@ static guint dissect_zbee_t2 (tvbuff_t *tvb, proto_tree *tree, static guint zbee_apf_transaction_len (tvbuff_t *tvb, guint offset, guint8 type); static void proto_init_zbee_aps(void); +static void proto_cleanup_zbee_aps(void); void proto_reg_handoff_zbee_aps(void); void proto_register_zbee_aps(void); @@ -2127,6 +2128,7 @@ void proto_register_zbee_aps(void) /* Register the init routine. */ register_init_routine(proto_init_zbee_aps); + register_cleanup_routine(proto_cleanup_zbee_aps); /* Register the ZigBee Application Framework protocol with Wireshark. */ proto_zbee_apf = proto_register_protocol("ZigBee Application Framework", "ZigBee APF", "zbee_apf"); @@ -2172,6 +2174,11 @@ static void proto_init_zbee_aps(void) &addresses_reassembly_table_functions); } /* proto_init_zbee_aps */ +static void proto_cleanup_zbee_aps(void) +{ + reassembly_table_destroy(&zbee_aps_reassembly_table); +} + /* * Editor modelines - http://www.wireshark.org/tools/modelines.html * |