diff options
Diffstat (limited to 'epan/dissectors/packet-mux27010.c')
-rw-r--r-- | epan/dissectors/packet-mux27010.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/epan/dissectors/packet-mux27010.c b/epan/dissectors/packet-mux27010.c index baee4ae7e9..dc4850e5e4 100644 --- a/epan/dissectors/packet-mux27010.c +++ b/epan/dissectors/packet-mux27010.c @@ -1002,13 +1002,16 @@ dissect_mux27010(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) static void mux27010_init(void) { - /* - * Initialize the fragment and reassembly tables. - */ reassembly_table_init(&msg_reassembly_table, &addresses_reassembly_table_functions); } +static void +mux27010_cleanup(void) +{ + reassembly_table_destroy(&msg_reassembly_table); +} + /*Register the protocol*/ void proto_register_mux27010 (void) @@ -1426,6 +1429,7 @@ proto_register_mux27010 (void) expert_register_field_array(expert_mux27010, ei, array_length(ei)); register_init_routine(mux27010_init); + register_cleanup_routine(mux27010_cleanup); } /*Initialize dissector*/ |